Resolve +nightly clippy warning

This commit is contained in:
Luke Street 2024-10-03 21:00:06 -06:00
parent 30bcf4936b
commit e6a3871d28
1 changed files with 1 additions and 1 deletions

View File

@ -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() {