Skip to main content

parse_range

Function parse_range 

Source
pub fn parse_range(s: &str) -> Option<(usize, usize)>
Expand description

Parse a range string “START:END” into (start, end) 1-indexed inclusive.