3 ms·
Closures are stack allocated unless you wrap them in something like a Box, so it's up to you. They're no different than any other value.
by steveklabnik 10y ago
Closures are stack allocated unless you wrap them in something like a Box, so it's up to you. They're no different than any other value.