Skip to main content

quote_ident

Function quote_ident 

Source
pub fn quote_ident(ident: &str) -> String
Expand description

Double-quote unless the identifier starts with a lowercase letter or an underscore, holds only lowercase letters, digits and underscores, and is not a keyword other than an unreserved one (quote_identifier).