Function clippy_utils::source::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.