clippy_utils::source

Function snippet_indent

source
pub fn snippet_indent(sess: &impl HasSession, span: Span) -> Option<String>
Expand description

Gets a snippet of the indentation of the line of a span