pub(crate) fn split_segment(path: &str) -> (&str, &str)
The first segment of path (no leading /) and the rest, which starts with / or is empty.
path
/