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:
edef 2025-03-27 00:32:02 +00:00
parent 14115930cc
commit 778ff22b25

View file

@ -83,7 +83,7 @@ impl 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.
pub fn components(&self) -> impl Iterator<Item = PathComponent> + '_ {
let mut iter = self.inner.split_str(&b"/");