std::core::string

needs_escape

fn bool needs_escape(char c)
Check if a character needs to be escaped in a string literal.

Parameters