pub fn components<'a>(path: &'a str) -> Components<'a> ⓘExpand description
Returns an iterator of the non-empty components of a path,
delimited by /. Note that . and .. are treated as
components.
pub fn components<'a>(path: &'a str) -> Components<'a> ⓘReturns an iterator of the non-empty components of a path,
delimited by /. Note that . and .. are treated as
components.