Skip to main content

pad

Function pad 

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

Pad to width by character count, as Python’s :<N does.