News for hackers. Stuff that matters.
Re:Understanding Rust Closures by OptionOfT on Sunday January 25, 2026 @01:01AM (#46751209)
I wish there was more customizability with regards to captures.

the move keywords captures everything. Sometimes I want a little bit more flexibility, like C++ lambdas.

Re:Understanding Rust Closures by avandecreme on Sunday January 25, 2026 @02:50AM (#46751734)
This article discusses making captures more flexible: https://smallcultfollowing.com/babysteps/blog/2025/10/22/exp...

I agree it would be nice, in particular to make it easier to understand when learning the concept.