3 ms·
> there's no visual cue. There is. Your editor is going to show the await keyword in a different color. (Unless you happen to be Rob Pike.)
by majewsky 8y ago
> there's no visual cue.
There is. Your editor is going to show the await keyword in a different color. (Unless you happen to be Rob Pike.)
- swsieber 8y agoThere's still a visual clue: You'll be in an async function, and it's highly likely that there'll be a question mark after it for control flow (e.g. most futures returns Result).
- arcticbull 8y agoThere's nothing else in Rust that requires me to use an editor for a semantic cue, is there? Why start here? You are correct of course, it's more a question of Rust being just as useable right now with or without syntax coloring, this small change breaks a lot.