papergrid::util

Function replace_tab

Source
pub fn replace_tab(text: &str, n: usize) -> String
Expand description

Replaces tabs in a string with a given width of spaces.