Skip to content

Commit 6201d87

Browse files
committed
Fix nightly clippy
1 parent 3b01721 commit 6201d87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/error.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ impl Display for ParseIntError {
3030
match &self.kind {
3131
ParseIntErrorKind::Overflow => f.write_str("number too large to fit in target type"),
3232
ParseIntErrorKind::Underflow => f.write_str("number too small to fit in target type"),
33-
ParseIntErrorKind::Unknown(e) => write!(f, "{}", e),
33+
ParseIntErrorKind::Unknown(e) => write!(f, "{e}"),
3434
}
3535
}
3636
}

0 commit comments

Comments
 (0)