diff --git a/src/future/future_group.rs b/src/future/future_group.rs index 97058ac..bcb4fa4 100644 --- a/src/future/future_group.rs +++ b/src/future/future_group.rs @@ -59,7 +59,6 @@ use crate::utils::{PollState, PollVec, WakerVec}; /// ``` #[must_use = "`FutureGroup` does nothing if not iterated over"] -#[derive(Default)] #[pin_project::pin_project] pub struct FutureGroup { #[pin] @@ -80,6 +79,12 @@ impl Debug for FutureGroup { } } +impl Default for FutureGroup { + fn default() -> Self { + Self::new() + } +} + impl FutureGroup { /// Create a new instance of `FutureGroup`. ///