From b90a83e0db949171db4bd4394f36f884eebd2c97 Mon Sep 17 00:00:00 2001 From: Yosh Date: Sun, 13 Aug 2023 02:21:08 +0200 Subject: [PATCH] fix item export for `FutureGroup` --- src/future/mod.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/future/mod.rs b/src/future/mod.rs index e37f14f..f181ad1 100644 --- a/src/future/mod.rs +++ b/src/future/mod.rs @@ -68,6 +68,7 @@ //! - `future::RaceOk`: wait for the first _successful_ future in the set to //! complete, or return an `Err` if *no* futures complete successfully. //! +#[doc(inline)] pub use future_group::FutureGroup; pub use futures_ext::FutureExt; pub use join::Join; @@ -75,7 +76,9 @@ pub use race::Race; pub use race_ok::RaceOk; pub use try_join::TryJoin; -mod future_group; +/// A growable group of futures which act as a single unit. +pub mod future_group; + mod futures_ext; pub(crate) mod join; pub(crate) mod race;