rust-lang / futures-rs

Zero-cost asynchronous programming in Rust
https://rust-lang.github.io/futures-rs/
Apache License 2.0
5.31k stars 609 forks source link

Remove an outdated comment from docs #2774

Closed WaffleLapkin closed 9 months ago

WaffleLapkin commented 9 months ago

The comment in the example is wrong, since the example is actually wrapped in async{} (and this is used, note the .await at the end).