fn has_physical_root(s: &[u8], prefix: Option<Prefix>) -> bool {
    let path = if let Some(p) = prefix {
        &s[p.len()..]
    } else {
        s
    };
    !path.is_empty() && is_sep_byte(path[0])
}
/// Says whether the first byte after the prefix is a separator.
Says whether the first byte after the prefix is a separator.
Says whether the first byte after the prefix is a separator .
fn has_physical_root(s: &[u8], prefix: Option<Prefix>) -> bool {
    let path = if let Some(p) = prefix {
        &s[p.len()..]
    } else {
        s
    };
    !path.is_empty() && is_sep_byte(path[0])
}
fn has_physical_root ( s : & [ u8 ] , prefix : Option < Prefix > ) -> bool { let path = if let Some ( p ) = prefix { & s [ p . len ( ) .. ] } else { s } ; ! path . is_empty ( ) && is_sep_byte ( path [ 0 ] ) }
Says whether the first byte after the prefix is a separator.
Says whether the first byte after the prefix is a separator .
s
&[u8]
prefix
Option<Prefix>
s
&[u8]
prefix
Option<Prefix>