Function do_expand_tabs

Source
pub fn do_expand_tabs(line: &[u8], tabsize: usize) -> Vec<u8> 
Expand description

Replace tabs by spaces in the input line. Correctly handle multi-bytes characters. This assumes that line does not contain any line breaks (if it does, the result is undefined).