pub fn replace_tab(text: &str, n: usize) -> Cow<'_, str>
Replaces tabs in a string with a given width of spaces.