Syntax
Long
Abbreviated
Closure variable scope
Unlike Rust functions Closures can capture their environment and access variables from the scope in which they’re defined:
Sep 23, 20201 min read
Unlike Rust functions Closures can capture their environment and access variables from the scope in which they’re defined: