pub fn format_line(line: &str) -> StringExpand description
Format a single line: normalize leading whitespace (tab → 4 spaces) and
strip trailing whitespace. Content between the indent and the trailing
whitespace is untouched. Line-local — the on-type formatting rule; the
whole-document format_source adds structure awareness on top.