Skip to content

Commit

Permalink
New clippy fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
konstin committed Dec 4, 2024
1 parent f8b2449 commit eb1c6c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/version/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1321,7 +1321,7 @@ fn parse_number_u64() {
/// assertion failure messages.
struct VersionBloatedDebug<'a>(&'a Version);

impl<'a> std::fmt::Debug for VersionBloatedDebug<'a> {
impl std::fmt::Debug for VersionBloatedDebug<'_> {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
f.debug_struct("Version")
.field("epoch", &self.0.epoch())
Expand Down

0 comments on commit eb1c6c4

Please sign in to comment.