tiger_lib::report::writer

Function line_spacing

Source
fn line_spacing(line: String) -> (String, usize, usize)
Expand description

Removes the leading spaces and tabs from line and returns it, together with how many character positions were removed and how many spaces should be substituted.