fuels_rs::utils

Function 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.