Skip to content

Minor documentation fix for race and try_race #473

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
1 commit merged into from
Nov 7, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions src/future/future/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -187,11 +187,9 @@ extension_trait! {
futures to complete. If multiple futures are completed at the same time,
resolution will occur in the order that they have been passed.

Note that this macro consumes all futures passed, and once a future is
Note that this function consumes all futures passed, and once a future is
completed, all other futures are dropped.

This macro is only usable inside of async functions, closures, and blocks.

# Examples

```
Expand Down