drone_macros_core

Function unkeywordize

Source
pub fn unkeywordize<T: AsRef<str>>(ident: T) -> String
Expand description

Inserts an underscore at the end of the string if the string is a reserved keyword.