chore: cargo --fix (#921)

This commit is contained in:
Matthias Seitz 2022-02-17 15:53:46 +01:00 committed by GitHub
parent f9f466ef07
commit 4de4a676f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -105,7 +105,7 @@ mod tests {
assert!(rlp.is_empty());
let mut rlp = RlpStream::new();
(&name).rlp_append(&mut rlp);
name.rlp_append(&mut rlp);
assert!(rlp.is_empty());
}
@ -122,7 +122,7 @@ mod tests {
assert_eq!(rlp.as_raw(), expected.as_raw());
let mut rlp = RlpStream::new();
(&union).rlp_append(&mut rlp);
union.rlp_append(&mut rlp);
assert_eq!(rlp.as_raw(), expected.as_raw());
}