pub fn line_with_tabs(
output: &mut String,
line: &str,
tab_width: usize,
strategy: Option<Consolidation>,
)
Expand description
Normalizes the leading whitespace of a string slice according to a given tab width.
It aggregates and converts leading whitespace (spaces and tabs) into a representation that maximizes the amount of tabs.