From 92d4c54824a6b5e1abd4056270206ac432f46a4c Mon Sep 17 00:00:00 2001 From: "Abhishek C. Sharma" Date: Fri, 8 Nov 2019 00:27:59 +0530 Subject: [PATCH] Minor documentation fixes for race and try_race --- src/future/future/mod.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/future/future/mod.rs b/src/future/future/mod.rs index 3a666e8a2..d7bd75be7 100644 --- a/src/future/future/mod.rs +++ b/src/future/future/mod.rs @@ -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 ```