Skip to main content

slashify

Function slashify 

Source
pub fn slashify(text: &str) -> String
Expand description

Double every backslash so the text can be embedded as a Rust string literal (Perl slashify). Used by the compile-time codegen consumer.