difft::display::style

Function width_respecting_tabs

Source
pub(crate) fn width_respecting_tabs(s: &str, tab_width: usize) -> usize