docs(snix/castore/path): fix typo
Change-Id: I9d4bca9b4788451ff2b020e6cd4cc20451618f74 Reviewed-on: https://cl.snix.dev/c/snix/+/30285 Tested-by: besadii Reviewed-by: Florian Klink <flokli@flokli.de>
This commit is contained in:
parent
14115930cc
commit
778ff22b25
1 changed files with 1 additions and 1 deletions
|
|
@ -83,7 +83,7 @@ impl Path {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Provides an iterator over the components of the path,
|
/// Provides an iterator over the components of the path,
|
||||||
/// which are invividual [PathComponent].
|
/// which are individual [PathComponent]s.
|
||||||
/// In case the path is empty, an empty iterator is returned.
|
/// In case the path is empty, an empty iterator is returned.
|
||||||
pub fn components(&self) -> impl Iterator<Item = PathComponent> + '_ {
|
pub fn components(&self) -> impl Iterator<Item = PathComponent> + '_ {
|
||||||
let mut iter = self.inner.split_str(&b"/");
|
let mut iter = self.inner.split_str(&b"/");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue