mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-04-27 10:39:25 -04:00
chore(crypto): Make Clippy happy.
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
use std::{
|
||||
convert::TryFrom,
|
||||
io::{Cursor, Read},
|
||||
ops::DerefMut,
|
||||
};
|
||||
|
||||
use bs58;
|
||||
@@ -144,7 +145,7 @@ impl RecoveryKey {
|
||||
let mut expected_parity = [0u8; 1];
|
||||
|
||||
decoded.read_exact(&mut prefix)?;
|
||||
decoded.read_exact(&mut *key)?;
|
||||
decoded.read_exact(key.deref_mut())?;
|
||||
decoded.read_exact(&mut expected_parity)?;
|
||||
|
||||
let expected_parity = expected_parity[0];
|
||||
|
||||
Reference in New Issue
Block a user