Function span_to_range

Source
fn span_to_range(source_map: &SourceMap, span: Span) -> Range<usize>
Expand description

Returns the range of the given span in the source map.