fuels_rs::code_gen::functions_gen

Function expand_input_name

Source
pub fn expand_input_name(index: usize, name: &str) -> TokenStream
Expand description

Expands a positional identifier string that may be empty.

Note that this expands the parameter name with safe_ident, meaning that identifiers that are reserved keywords get _ appended to them.