How? From my very first message:
I agree that in some other language, different from Rust, and with different design goals, in a language where precise implementation details are prominently exposed and where panic doesn't exist .await
suffix syntax would be totally unacceptable.
But Rust is different! It does have Deref
, it does have ?
and it does have break 'label value
.
In Rust suffix .await
is perfectly natural.
You may not like it (like I don't like how mut
works in bindings) but it follows from the design of the whole language pretty naturally.