From 571356c24a8ba14a8ffc33a9cbacea5e80e3a228 Mon Sep 17 00:00:00 2001 From: EFanZh Date: Mon, 24 Jan 2022 16:17:40 +0800 Subject: [PATCH] Make `join!` description more accurate --- library/core/src/future/join.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/core/src/future/join.rs b/library/core/src/future/join.rs index a6ffbe07d91..fa4eb0d2f33 100644 --- a/library/core/src/future/join.rs +++ b/library/core/src/future/join.rs @@ -9,7 +9,7 @@ use crate::task::{Context, Poll}; /// Polls multiple futures simultaneously, returning a tuple /// of all results once complete. /// -/// While `join!(a, b)` is similar to `(a.await, b.await)`, +/// While `join!(a, b).await` is similar to `(a.await, b.await)`, /// `join!` polls both futures concurrently and is therefore more efficient. /// /// # Examples