pub fn normalize_r_arg_ident(rust_ident: &Ident) -> IdentExpand description
Normalizes Rust argument identifiers for R.
- Leading
_→ stripped (Rust convention for unused params) - Leading
__→ stripped - Otherwise → unchanged
§Examples
_x→x_to→to__field→fieldvalue→value
Note: We strip underscores rather than prefixing “unused” because R callers (like vctrs) may use named arguments that must match the original name.