Skip to content

Commit

Permalink
chore: clippy (#225)
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniPopes authored Aug 3, 2023
1 parent 58e2259 commit 85ded09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/primitives/src/bits/serde.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ mod tests {
assert_eq!(ser, "\"0x000000000123456789abcdef\"");
assert_eq!(serde_json::from_str::<FixedBytes<12>>(&ser).unwrap(), bytes);

let val = serde_json::to_value(&bytes).unwrap();
let val = serde_json::to_value(bytes).unwrap();
assert_eq!(val, serde_json::json! {"0x000000000123456789abcdef"});
assert_eq!(
serde_json::from_value::<FixedBytes<12>>(val).unwrap(),
Expand Down

0 comments on commit 85ded09

Please sign in to comment.