Function fuels_core::utils::safe_ident

source ·
pub fn safe_ident(name: &str) -> Ident
Expand description

identifier is for a reserved keyword.

Parsing keywords like self can fail, in this case we add an underscore.