Skip to main content

escape_quoted_string

Function escape_quoted_string 

Source
pub fn escape_quoted_string(string: &str, quote: char) -> EscapeQuotedString<'_>
Expand description

Return a helper which formats string for inclusion inside a quoted literal that uses quote as the delimiter.