Skip to main content

escape_format_string

Function escape_format_string 

Source
pub fn escape_format_string(value: &str) -> String
Expand description

Escape {{ and }} in a string so the format string parser treats them as literals.