51
2024 Edition Update (blog.rust-lang.org)
you are viewing a single comment's thread
view the rest of the comments
[-] anton@lemmy.blahaj.zone 2 points 7 months ago

Keyword reserving is always exciting.
In this case it's gen, which allows iterators build on the state machines currently powering async.

Here is a contrived use case from me.
It's not as groundbreaking as async but it's a convenience. And hey, you could write futures without the async/await keywords, but it's easier with them

this post was submitted on 22 Mar 2024
51 points (98.1% liked)

Rust

5999 readers
6 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 1 year ago
MODERATORS