Skip to main content

format_template

Function format_template 

Source
pub fn format_template(template: &str, args: &[&dyn Display]) -> String
Expand description

Replace {0}, {1}, … placeholders in a template string with provided args.