diff --git a/src/path/iter.rs b/src/path/iter.rs index 092740c3..f228f7fa 100644 --- a/src/path/iter.rs +++ b/src/path/iter.rs @@ -32,7 +32,8 @@ impl<'a> Iter<'a> { /// /// assert_eq!(Path::new("foo/bar.txt"), iter.as_path()); /// ``` - #[must_use] pub fn as_path(&self) -> &'a Path { + #[must_use] + pub fn as_path(&self) -> &'a Path { self.inner.as_path() } }