Skip to main content

escape_rust

Function escape_rust 

Source
pub fn escape_rust(s: &str) -> String
Expand description

Escape a string for embedding in a Rust string literal.