From f5e0c84761759e3de130e758ca34259411cc3d82 Mon Sep 17 00:00:00 2001 From: Yosh Date: Thu, 24 Oct 2024 17:41:08 +0200 Subject: [PATCH] fix clippy in CI --- src/future/future_group.rs | 1 - src/stream/stream_group.rs | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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();