Skip to content

Commit

Permalink
MSR: corrected clippy found issue
Browse files Browse the repository at this point in the history
An unused lifetime parameter was removed.
  • Loading branch information
andrewjj20 committed Jan 9, 2023
1 parent a887434 commit d3883b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/msr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ impl MSRDesc {
}
}

impl<'a> fmt::Display for MSRDesc {
impl fmt::Display for MSRDesc {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
write!(f, "{}: {:#x}", self.name, self.address)
}
Expand Down

0 comments on commit d3883b0

Please sign in to comment.