whitfin:
Secondly, controversy is not something we want. The original syntax didn’t have everyone up-in-arms on the forums trying to find alternatives, nor did it have people saying it was confusing/misleading/etc.
"Confusing" no, verbose and annoying yes.
I'll note it's hard to measure the controversy with a proposal because those in opposition to the proposal are always noisier than those who support it.
It's done.
rust-lang:master
← cramertj:await
opened 05:52PM - 06 May 19 UTC
Adds support for .await under the existing async_await feature gate.
Moves macr… o-like await! syntax to the await_macro feature gate.
Removes support for `await` as a non-keyword under the `async_await`
feature.
This new syntax is not final, but is the consensus solution proposed by the lang team, as explained in https://boats.gitlab.io/blog/post/await-decision/
Fix https://github.com/rust-lang/rust/issues/51719
Fix https://github.com/rust-lang/rust/issues/51751
Fix https://github.com/rust-lang/rust/issues/60016
8 Likes