Function clippy_utils::source::snippet_indent
source · pub fn snippet_indent<T: LintContext>(cx: &T, span: Span) -> Option<String>
Expand description
Gets a snippet of the indentation of the line of a span
pub fn snippet_indent<T: LintContext>(cx: &T, span: Span) -> Option<String>
Gets a snippet of the indentation of the line of a span