Skip to content

Commit

Permalink
Resolve +nightly clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
encounter committed Oct 4, 2024
1 parent 30bcf49 commit e6a3871
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nodtool/src/util/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pub struct PathDisplay<'a> {
path: &'a Path,
}

impl<'a> fmt::Display for PathDisplay<'a> {
impl fmt::Display for PathDisplay<'_> {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let mut first = true;
for segment in self.path.iter() {
Expand Down

0 comments on commit e6a3871

Please sign in to comment.