Skip to main content

rename_function

Function rename_function 

Source
pub fn rename_function(
    entry: &FnDecl,
    ident: &dyn Fn(&str) -> String,
    reserved: &BTreeSet<String>,
) -> (Vec<Param>, Expr)
Expand description

A function’s parameters and body with target local names.