Skip to main content

pad_label

Function pad_label 

Source
pub fn pad_label(s: &str, width: usize) -> String
Expand description

Pad a string to width columns (char count; labels should stay ASCII-friendly).