News Score: Score the News, Sort the News, Rewrite the Headlines

Stabilize async closures (RFC 3668) by compiler-errors · Pull Request #132706 · rust-lang/rust

Async Closures Stabilization Report This report proposes the stabilization of #![feature(async_closure)] (RFC 3668). This is a long-awaited feature that increases the expressiveness of the Rust language and fills a pressing gap in the async ecosystem. Stabilization summary You can write async closures like async || {} which return futures that can borrow from their captures and can be higher-ranked in their argument lifetimes. You can express trait bounds for these async closures using the Async...

Read more at github.com

© News Score  score the news, sort the news, rewrite the headlines