From 6d100623bc9b08bf1b7bbf74efa346f1ceefbe31 Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Thu, 19 Dec 2024 15:57:31 +0100 Subject: [PATCH] Apply suggestions from clippy 1.83 --- instant-xml-macros/src/case.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/instant-xml-macros/src/case.rs b/instant-xml-macros/src/case.rs index aeef600..f5701ff 100644 --- a/instant-xml-macros/src/case.rs +++ b/instant-xml-macros/src/case.rs @@ -133,7 +133,7 @@ pub struct ParseError<'a> { unknown: &'a str, } -impl<'a> Display for ParseError<'a> { +impl Display for ParseError<'_> { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { f.write_str("unknown rename rule `rename_all = ")?; Debug::fmt(self.unknown, f)?;