diff --git a/src/future/future_group.rs b/src/future/future_group.rs index fa731e3..406f437 100644 --- a/src/future/future_group.rs +++ b/src/future/future_group.rs @@ -57,7 +57,6 @@ use crate::utils::{PollState, PollVec, WakerVec}; /// assert_eq!(out, 10); /// # });} /// ``` - #[must_use = "`FutureGroup` does nothing if not iterated over"] #[pin_project::pin_project] pub struct FutureGroup { diff --git a/src/stream/stream_group.rs b/src/stream/stream_group.rs index 7ca3ab4..fbc7046 100644 --- a/src/stream/stream_group.rs +++ b/src/stream/stream_group.rs @@ -42,7 +42,7 @@ use crate::utils::{PollState, PollVec, WakerVec}; /// # futures_lite::future::block_on(async { /// let mut group = StreamGroup::new(); /// group.insert(stream::once(4)); - +/// /// let mut index = 3; /// let mut out = 0; /// let mut group = group.lend_mut();