From c99407cbdfeffb511ef952094779b0b9b8db97df Mon Sep 17 00:00:00 2001 From: Marco Neumann Date: Thu, 1 Aug 2024 13:11:47 +0200 Subject: [PATCH] fix: `clippy::doc_lazy_continuation` See https://rust-lang.github.io/rust-clippy/master/index.html#/doc_lazy_continuation --- src/future/mod.rs | 2 +- src/stream/mod.rs | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/future/mod.rs b/src/future/mod.rs index c035d81..23ef754 100644 --- a/src/future/mod.rs +++ b/src/future/mod.rs @@ -66,7 +66,7 @@ //! //! - `future::TryMerge`: wait for all futures in the set to complete _successfully_, or return on the first error. //! - `future::RaceOk`: wait for the first _successful_ future in the set to -//! complete, or return an `Err` if *no* futures complete successfully. +//! complete, or return an `Err` if *no* futures complete successfully. //! #[doc(inline)] #[cfg(feature = "alloc")] diff --git a/src/stream/mod.rs b/src/stream/mod.rs index fdbf0fd..dd7dedc 100644 --- a/src/stream/mod.rs +++ b/src/stream/mod.rs @@ -30,12 +30,12 @@ //! iterators: //! //! - `merge`: combine multiple iterators into a single iterator, where the new -//! iterator yields an item as soon as one is available from one of the -//! underlying iterators. +//! iterator yields an item as soon as one is available from one of the +//! underlying iterators. //! - `zip`: combine multiple iterators into an iterator of pairs. The -//! underlying iterators will be awaited concurrently. +//! underlying iterators will be awaited concurrently. //! - `chain`: iterate over multiple iterators in sequence. The next iterator in -//! the sequence won't start until the previous iterator has finished. +//! the sequence won't start until the previous iterator has finished. //! //! ## Futures //!