pub fn line_indents<'a>(
lines: impl Iterator<Item = &'a str>,
unit: &IndentUnit,
) -> Vec<LineIndent>Expand description
Project lines to the walk’s input.
Depth is measured in display columns (IndentUnit::columns_of, so a tab
advances to the next tabstop), not in leading whitespace characters. A
tab-indented file and its space-indented twin must produce identical blocks;
counting characters is what made them differ.