chore: cargo --fix (#921)
This commit is contained in:
parent
f9f466ef07
commit
4de4a676f0
|
@ -105,7 +105,7 @@ mod tests {
|
||||||
assert!(rlp.is_empty());
|
assert!(rlp.is_empty());
|
||||||
|
|
||||||
let mut rlp = RlpStream::new();
|
let mut rlp = RlpStream::new();
|
||||||
(&name).rlp_append(&mut rlp);
|
name.rlp_append(&mut rlp);
|
||||||
assert!(rlp.is_empty());
|
assert!(rlp.is_empty());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -122,7 +122,7 @@ mod tests {
|
||||||
assert_eq!(rlp.as_raw(), expected.as_raw());
|
assert_eq!(rlp.as_raw(), expected.as_raw());
|
||||||
|
|
||||||
let mut rlp = RlpStream::new();
|
let mut rlp = RlpStream::new();
|
||||||
(&union).rlp_append(&mut rlp);
|
union.rlp_append(&mut rlp);
|
||||||
assert_eq!(rlp.as_raw(), expected.as_raw());
|
assert_eq!(rlp.as_raw(), expected.as_raw());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue