Skip to content

Commit 209a21f

Browse files
Fix lints from 1.89
1 parent b3a7371 commit 209a21f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/src/path.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ impl Path {
242242
/// assert_eq!(&*ancestors.next().unwrap(), path!("/"));
243243
/// assert!(ancestors.next().is_none());
244244
/// ```
245-
pub fn ancestors(&self) -> Ancestors {
245+
pub fn ancestors(&self) -> Ancestors<'_> {
246246
Ancestors {
247247
path: self.as_str(),
248248
}
@@ -260,7 +260,7 @@ impl Path {
260260
/// assert_eq!(&*iter.next().unwrap(), path!("file.extension"));
261261
/// assert!(iter.next().is_none());
262262
/// ```
263-
pub fn iter(&self) -> Iter {
263+
pub fn iter(&self) -> Iter<'_> {
264264
Iter {
265265
path: self.as_str(),
266266
}

0 commit comments

Comments
 (0)