Skip to main content

join_path_segments

Function join_path_segments 

Source
pub fn join_path_segments<I, S>(segments: I) -> String
where I: IntoIterator<Item = S>, S: AsRef<str>,
Expand description

Join host-supplied path segments into Harn’s target-independent / form. Absolute POSIX, UNC, or drive-rooted segments reset the accumulated path, matching PathBuf::push without making artifact behavior depend on the machine that compiled the kernel.