Skip to main content

slice_match

Function slice_match 

Source
pub fn slice_match<'a>(input: &'a str, span: &MatchSpan) -> Option<&'a str>
Expand description

Returns a borrowed slice for a valid span.