pub fn span(whole: &str, part: &str) -> Range<usize> ⓘ
Return the span of a string slice part relative to a string slice whole.
part
whole
The caller must ensure that part is fully contained inside whole.