Skip to main content

pad_right

Function pad_right 

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

f"{s:<width}" — pad on the right to width characters.