Function clippy_utils::source::indent_of
source · pub fn indent_of<T: LintContext>(cx: &T, span: Span) -> Option<usize>
Expand description
Returns the indentation of the line of a span
ⓘ
let x = ();
// ^^ -- will return 0
let x = ();
// ^^ -- will return 4