Re:Rust 1.50
by Sharlin on Thursday February 11, 2021 @03:52PM
(#26106991)
Rust lambdas look like this:
So `|| expr` is just a lambda function that takes no arguments and evaluates to `expr`.
[ Parent
| on HN ]
There are no comments on this comment yet.