Follow

Whoa, the next version is already the intended version for the 2021 edition! :blobaww: 🦀

· · Web · 1 · 0 · 2

@cytrinox Hm...good question. I'm pretty sure not yet, because for async traits Rust needs GATs and that's apparently a hard nut to crack:
blog.rust-lang.org/2021/08/03/

But it has some other gems like "disjoint closures", which captures only the fields you are using in the closure not the whole object: doc.rust-lang.org/edition-guid

Also they are _preparing_ another feature, which is format strings, so something like `f"hello {name}"` will be possible soon (not with the next release, though):
doc.rust-lang.org/edition-guid

Sign in to participate in the conversation
Mastodon for Tech Folks

This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!