From 4de4a676f06b13da5fac4697361eb8deae8b8e70 Mon Sep 17 00:00:00 2001 From: Matthias Seitz Date: Thu, 17 Feb 2022 15:53:46 +0100 Subject: [PATCH] chore: cargo --fix (#921) --- ethers-core/src/types/ens.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ethers-core/src/types/ens.rs b/ethers-core/src/types/ens.rs index 9b68ac4e..60c6e39e 100644 --- a/ethers-core/src/types/ens.rs +++ b/ethers-core/src/types/ens.rs @@ -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()); }