Skip to main content

indent_width

Function indent_width 

Source
pub fn indent_width(s: &str, tabstop: usize) -> usize
Expand description

Indent width of a leading-whitespace prefix, counting a \t as advancing to the next tabstop boundary and a space as one column.