From d3883b0404a442847ebf85db16e3b9cf31dfe6e9 Mon Sep 17 00:00:00 2001 From: Joshua Job Date: Mon, 9 Jan 2023 11:25:24 -0800 Subject: [PATCH] MSR: corrected clippy found issue An unused lifetime parameter was removed. --- src/msr.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/msr.rs b/src/msr.rs index b861ac6..619b4ee 100644 --- a/src/msr.rs +++ b/src/msr.rs @@ -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) }