Skip to main content

format_with_args

Function format_with_args 

Source
pub fn format_with_args(msg: &str, args: &[&str]) -> String
Expand description

Fills {0}, {1}, … in msg from args. {{ and }} are literal braces; placeholders with a format specifier or alignment are left as they are.