Skip to content

Commit

Permalink
Fix clippy::needless_lifetimes lint
Browse files Browse the repository at this point in the history
  • Loading branch information
waywardmonkeys committed Dec 6, 2024
1 parent bb61427 commit 4dc1516
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ impl<'c> From<Curie<'c>> for String {
}
}

impl<'c> fmt::Display for Curie<'c> {
impl fmt::Display for Curie<'_> {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
match self.prefix {
Some(prefix) => write!(f, "{}:{}", prefix, self.reference),
Expand Down

0 comments on commit 4dc1516

Please sign in to comment.