mirror of
https://github.com/instant-labs/instant-xml.git
synced 2025-02-03 00:24:21 +00:00
Apply suggestions from clippy 1.83
This commit is contained in:
parent
74be76d427
commit
6d100623bc
@ -133,7 +133,7 @@ pub struct ParseError<'a> {
|
|||||||
unknown: &'a str,
|
unknown: &'a str,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> Display for ParseError<'a> {
|
impl Display for ParseError<'_> {
|
||||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||||
f.write_str("unknown rename rule `rename_all = ")?;
|
f.write_str("unknown rename rule `rename_all = ")?;
|
||||||
Debug::fmt(self.unknown, f)?;
|
Debug::fmt(self.unknown, f)?;
|
||||||
|
Loading…
Reference in New Issue
Block a user