mirror of
https://git.um-react.app/um/lib_um_crypto_rust.git
synced 2026-03-08 04:29:54 +00:00
fix: address clippy warnings
This commit is contained in:
@@ -23,7 +23,7 @@ impl JooxDecipher for Header {
|
||||
|
||||
let (buffer, _) = buffer
|
||||
.split_at_mut_checked(buffer_size)
|
||||
.ok_or_else(|| JooxError::OutputBufferTooSmall(buffer_size))?;
|
||||
.ok_or(JooxError::OutputBufferTooSmall(buffer_size))?;
|
||||
|
||||
let result = (&self.aes_engine)
|
||||
.decrypt_padded_mut::<Pkcs7>(buffer)
|
||||
|
||||
Reference in New Issue
Block a user