Skip to content

Commit

Permalink
Fix clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
sorairolake committed Jun 28, 2024
1 parent ace4e7d commit 5376d0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/capi/src/encrypt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ mod tests {

#[test]
fn minimum_output_length() {
let mut plaintext = [u8::default(); 0];
let mut plaintext = [];
let mut passphrase: [u8; PASSPHRASE.len()] = PASSPHRASE.as_bytes().try_into().unwrap();
let mut ciphertext = [u8::default(); HEADER_SIZE + TAG_SIZE];
let code = unsafe {
Expand Down

0 comments on commit 5376d0b

Please sign in to comment.