Skip to main content

pad_left

Function pad_left 

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

f"{s:>width}" — pad on the left to width characters.