Skip to main content

quote

Function quote 

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

A Ruby double-quoted string literal reading as s: backslashes and quotes escaped, and every # that could start an interpolation (#{...}, #$global, #@ivar) made literal.