From eb1ef3f4e4459fc4ac9ca95a661eb98a46e7cb12 Mon Sep 17 00:00:00 2001 From: Abhishek C Sharma Date: Thu, 7 Nov 2019 19:19:05 +0000 Subject: [PATCH] Minor documentation fix for race and try_race (#473) --- 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 3a666e8..d7bd75b 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 ```