Skip to content

Commit 68729a1

Browse files
Fix Clippy
1 parent ef6a09c commit 68729a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rust/catalyst-types/src/hash_wrapper.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ mod tests {
136136
#[test]
137137
fn display() {
138138
let hash = H1::new(&[1, 2, 3, 4, 5]);
139-
let display = format!("{}", hash);
139+
let display = format!("{hash}");
140140
let expected = "0x2a6ad53c3c6986406e1d6c7cfd06b69a";
141141
assert_eq!(expected, display);
142142
}

0 commit comments

Comments
 (0)