From e6a3871d28304c5ccf287f21c9cfd14bcc7fbdcf Mon Sep 17 00:00:00 2001 From: Luke Street Date: Thu, 3 Oct 2024 21:00:06 -0600 Subject: [PATCH] Resolve +nightly clippy warning --- nodtool/src/util/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodtool/src/util/mod.rs b/nodtool/src/util/mod.rs index 34bc2f3..e3c82be 100644 --- a/nodtool/src/util/mod.rs +++ b/nodtool/src/util/mod.rs @@ -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() {