3 ms·
If you have a named function, rust lets you do a.map(succ) as well, since functions can be used where closures can, as long as the types work.
by steveklabnik 8y ago
If you have a named function, rust lets you do
a.map(succ)
as well, since functions can be used where closures can, as long as the types work.
- jeffmcmahan 8y agoSame in JS