feat: fix clippy
This commit is contained in:
@@ -16,7 +16,7 @@ impl Cryptor {
|
||||
match algorithm {
|
||||
"aes256-gcm" | consts::TINY_ENC_AES_GCM => Ok(Cryptor::Aes256Gcm),
|
||||
"chacha20-poly1305" | consts::TINY_ENC_CHACHA20_POLY1305 => Ok(Cryptor::ChaCha20Poly1305),
|
||||
_ => simple_error!("Unknown altorighm: {}",algorithm),
|
||||
_ => simple_error!("Unknown algorithm: {}",algorithm),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user