Local Functions

Rust offer local functions,but local functions in Rust cannot use variables from their surrounding lexical scope;but closures can.