fn into_components(path: &Path) -> Vec<OsString> {
    path.components()
        .filter_map(|c| match c {
            Component::RootDir => Some("/".into()),
            Component::Normal(path) => Some(path.into()),
            _ => None,
        })
        .collect()
}
// Split the path into it's components.
Split the path into it's components.
Split the path into it ' s components .
fn into_components(path: &Path) -> Vec<OsString> {
    path.components()
        .filter_map(|c| match c {
            Component::RootDir => Some("/".into()),
            Component::Normal(path) => Some(path.into()),
            _ => None,
        })
        .collect()
}
fn into_components ( path : & Path ) -> Vec < OsString > { path . components ( ) . filter_map ( | c | match c { Component :: RootDir => Some ( " " . into ( ) ) , Component :: Normal ( path ) => Some ( path . into ( ) ) , _ => None , } ) . collect ( ) }
Split the path into it's components.
Split the path into it ' s components .
path
&Path
path
&Path