Skip to main content

fill_values

Function fill_values 

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

text with each {name} that args names replaced by its value, and nothing else: for text built where there are no keys to name (a line of a list, a label). Anything else in braces is left alone.