Skip to content

Commit

Permalink
Removed unnecessary line of code
Browse files Browse the repository at this point in the history
  • Loading branch information
Barquadd committed Dec 28, 2022
1 parent 1a33cef commit 5278143
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@ fn main() {
for _ in 0..12 {
nonce_vec.push(rand::random::<u8>());
}
let nonce_vec_2 = nonce_vec.clone();
let nonce = Nonce::from_slice(&nonce_vec_2);
let nonce = Nonce::from_slice(&nonce_vec);

println!("Reading file...");
let mut buffer: Vec<u8> = std::fs::read(args.path.clone()).expect("Failed to read file.");
Expand Down

0 comments on commit 5278143

Please sign in to comment.