Skip to main content

split_segment

Function split_segment 

Source
pub(crate) fn split_segment(path: &str) -> (&str, &str)
Expand description

The first segment of path (no leading /) and the rest, which starts with / or is empty.