clippy_utils::source

Function trim_span

Source
pub fn trim_span(sm: &SourceMap, span: Span) -> Span
Expand description

Trims the whitespace from the start and the end of the span.