Apply suggestions from clippy 1.83

This commit is contained in:
Dirkjan Ochtman 2024-12-19 15:57:31 +01:00
parent 74be76d427
commit 6d100623bc

View File

@ -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)?;