From 5e30d8610893afb03c54c69250f1e0d1a021ffea Mon Sep 17 00:00:00 2001 From: Caden Haustein Date: Tue, 1 Jun 2021 19:23:07 +0000 Subject: [PATCH] Update src/path/iter.rs Co-authored-by: Jeremiah Senkpiel --- src/path/iter.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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() } }