diff --git a/cli/src/cli.rs b/cli/src/cli.rs index bffd3464..0ccc5dc7 100644 --- a/cli/src/cli.rs +++ b/cli/src/cli.rs @@ -251,7 +251,6 @@ pub(crate) enum CipherMode { #[cfg(test)] mod tests { use super::*; - use clap::Parser; #[test] fn store_archive() { diff --git a/lib/src/cipher.rs b/lib/src/cipher.rs index 578f1180..e75c4d46 100644 --- a/lib/src/cipher.rs +++ b/lib/src/cipher.rs @@ -105,10 +105,7 @@ mod tests { Ok(e) } - fn decrypt_cbc( - key: &[u8], - data: &[u8], - ) -> io::Result> + fn decrypt_cbc(key: &[u8], data: &[u8]) -> io::Result> where Cipher: BlockDecryptMut + BlockCipher, cbc::Decryptor: KeyIvInit,