mirror of
https://github.com/async-rs/async-std.git
synced 2025-02-06 12:45:32 +00:00
Update src/path/iter.rs
Co-authored-by: Jeremiah Senkpiel <fishrock123@rocketmail.com>
This commit is contained in:
parent
ca7f5b6de7
commit
5e30d86108
1 changed files with 2 additions and 1 deletions
|
@ -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()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue