Skip to main content

normalize_r_arg_string

Function normalize_r_arg_string 

Source
pub fn normalize_r_arg_string(name: &str) -> String
Expand description

String form of normalize_r_arg_ident that skips the syn::Ident round-trip.

Most callers feed the result into format!/HashMap keys and immediately .to_string() the returned ident — this avoids that allocation pair.