Skip to main content

nfc_identifier

Function nfc_identifier 

Source
pub fn nfc_identifier(name: &str) -> Cow<'_, str>
Expand description

NFC-normalize an identifier. ASCII (the overwhelming majority of symbol names) and already-NFC strings take the zero-alloc path.