forked from mirror/async-std
Minor documentation fix for race and try_race (#473)
This commit is contained in:
parent
d0f1996759
commit
eb1ef3f4e4
1 changed files with 1 additions and 3 deletions
|
@ -187,11 +187,9 @@ extension_trait! {
|
||||||
futures to complete. If multiple futures are completed at the same time,
|
futures to complete. If multiple futures are completed at the same time,
|
||||||
resolution will occur in the order that they have been passed.
|
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.
|
completed, all other futures are dropped.
|
||||||
|
|
||||||
This macro is only usable inside of async functions, closures, and blocks.
|
|
||||||
|
|
||||||
# Examples
|
# Examples
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue