Skip to content

Commit 64eb779

Browse files
taiki-eNemo157
authored andcommitted
Replace "combinator" with "function"/"method"
1 parent 7444716 commit 64eb779

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

92 files changed

+98
-102
lines changed

futures-util/src/future/catch_unwind.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ use std::pin::Pin;
66
use std::panic::{catch_unwind, UnwindSafe, AssertUnwindSafe};
77
use std::prelude::v1::*;
88

9-
/// Future for the [`catch_unwind`](super::FutureExt::catch_unwind) combinator.
9+
/// Future for the [`catch_unwind`](super::FutureExt::catch_unwind) method.
1010
#[derive(Debug)]
1111
#[must_use = "futures do nothing unless polled"]
1212
pub struct CatchUnwind<Fut> where Fut: Future {

futures-util/src/future/disabled/select.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use futures_core::task;
33

44
use either::Either;
55

6-
/// Future for the [`select`](super::FutureExt::select) combinator.
6+
/// Future for the [`select`](super::FutureExt::select) method.
77
#[must_use = "futures do nothing unless polled"]
88
#[derive(Debug)]
99
pub struct Select<A, B> {

futures-util/src/future/disabled/select_all.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ use std::prelude::v1::*;
77
use futures_core::{Future, IntoFuture, Poll, Async};
88
use futures_core::task;
99

10-
/// Future for the [`select_all`] combinator.
10+
/// Future for the [`select_all`] function.
1111
#[derive(Debug)]
1212
#[must_use = "futures do nothing unless polled"]
1313
pub struct SelectAll<A> where A: Future {

futures-util/src/future/disabled/select_ok.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ use std::prelude::v1::*;
77
use futures_core::{Future, IntoFuture, Poll, Async};
88
use futures_core::task;
99

10-
/// Future for the [`select_ok`] combinator.
10+
/// Future for the [`select_ok`] function.
1111
#[derive(Debug)]
1212
#[must_use = "futures do nothing unless polled"]
1313
pub struct SelectOk<A> where A: Future {

futures-util/src/future/empty.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use core::pin::Pin;
33
use futures_core::future::{Future, FusedFuture};
44
use futures_core::task::{Waker, Poll};
55

6-
/// Future for the [`empty`] combinator.
6+
/// Future for the [`empty`] function.
77
#[derive(Debug)]
88
#[must_use = "futures do nothing unless polled"]
99
pub struct Empty<T> {

futures-util/src/future/flatten.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use futures_core::future::{FusedFuture, Future};
55
use futures_core::task::{Waker, Poll};
66
use pin_utils::unsafe_pinned;
77

8-
/// Future for the [`flatten`](super::FutureExt::flatten) combinator.
8+
/// Future for the [`flatten`](super::FutureExt::flatten) method.
99
#[must_use = "futures do nothing unless polled"]
1010
pub struct Flatten<Fut>
1111
where Fut: Future,

futures-util/src/future/flatten_stream.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ use futures_core::future::Future;
44
use futures_core::stream::{FusedStream, Stream};
55
use futures_core::task::{Waker, Poll};
66

7-
/// Stream for the [`flatten_stream`](super::FutureExt::flatten_stream)
8-
/// combinator.
7+
/// Stream for the [`flatten_stream`](super::FutureExt::flatten_stream) method.
98
#[must_use = "streams do nothing unless polled"]
109
pub struct FlattenStream<Fut: Future> {
1110
state: State<Fut>

futures-util/src/future/fuse.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use futures_core::future::{Future, FusedFuture};
33
use futures_core::task::{Waker, Poll};
44
use pin_utils::unsafe_pinned;
55

6-
/// Future for the [`fuse`](super::FutureExt::fuse) combinator.
6+
/// Future for the [`fuse`](super::FutureExt::fuse) method.
77
#[derive(Debug)]
88
#[must_use = "futures do nothing unless polled"]
99
pub struct Fuse<Fut: Future> {

futures-util/src/future/inspect.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use futures_core::future::{FusedFuture, Future};
33
use futures_core::task::{Waker, Poll};
44
use pin_utils::{unsafe_pinned, unsafe_unpinned};
55

6-
/// Future for the [`inspect`](super::FutureExt::inspect) combinator.
6+
/// Future for the [`inspect`](super::FutureExt::inspect) method.
77
#[derive(Debug)]
88
#[must_use = "futures do nothing unless polled"]
99
pub struct Inspect<Fut, F> where Fut: Future {

futures-util/src/future/into_stream.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use futures_core::stream::Stream;
44
use futures_core::task::{Waker, Poll};
55
use pin_utils::unsafe_pinned;
66

7-
/// Stream for the [`into_stream`](super::FutureExt::into_stream) combinator.
7+
/// Stream for the [`into_stream`](super::FutureExt::into_stream) method.
88
#[must_use = "futures do nothing unless polled"]
99
#[derive(Debug)]
1010
pub struct IntoStream<Fut: Future> {

futures-util/src/future/join.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,15 +68,15 @@ macro_rules! generate {
6868
}
6969

7070
generate! {
71-
/// Future for the [`join`](super::FutureExt::join) combinator.
71+
/// Future for the [`join`](super::FutureExt::join) method.
7272
(Join, <Fut1, Fut2>),
7373

74-
/// Future for the [`join3`](super::FutureExt::join3) combinator.
74+
/// Future for the [`join3`](super::FutureExt::join3) method.
7575
(Join3, <Fut1, Fut2, Fut3>),
7676

77-
/// Future for the [`join4`](super::FutureExt::join4) combinator.
77+
/// Future for the [`join4`](super::FutureExt::join4) method.
7878
(Join4, <Fut1, Fut2, Fut3, Fut4>),
7979

80-
/// Future for the [`join5`](super::FutureExt::join5) combinator.
80+
/// Future for the [`join5`](super::FutureExt::join5) method.
8181
(Join5, <Fut1, Fut2, Fut3, Fut4, Fut5>),
8282
}

futures-util/src/future/join_all.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ fn iter_pin_mut<T>(slice: Pin<&mut [T]>) -> impl Iterator<Item = Pin<&mut T>> {
5555
.map(|t| unsafe { Pin::new_unchecked(t) })
5656
}
5757

58-
/// Future for the [`join_all`] combinator.
58+
/// Future for the [`join_all`] function.
5959
#[must_use = "futures do nothing unless polled"]
6060
pub struct JoinAll<F>
6161
where

futures-util/src/future/lazy.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ use core::pin::Pin;
22
use futures_core::future::{FusedFuture, Future};
33
use futures_core::task::{Waker, Poll};
44

5-
/// Future for the [`lazy`] combinator.
5+
/// Future for the [`lazy`] function.
66
#[derive(Debug)]
77
#[must_use = "futures do nothing unless polled"]
88
pub struct Lazy<F> {

futures-util/src/future/map.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use futures_core::future::{FusedFuture, Future};
33
use futures_core::task::{Waker, Poll};
44
use pin_utils::{unsafe_pinned, unsafe_unpinned};
55

6-
/// Future for the [`map`](super::FutureExt::map) combinator.
6+
/// Future for the [`map`](super::FutureExt::map) method.
77
#[derive(Debug)]
88
#[must_use = "futures do nothing unless polled"]
99
pub struct Map<Fut, F> {

futures-util/src/future/poll_fn.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use core::pin::Pin;
44
use futures_core::future::Future;
55
use futures_core::task::{Waker, Poll};
66

7-
/// Future for the [`poll_fn`] combinator.
7+
/// Future for the [`poll_fn`] function.
88
#[derive(Debug)]
99
#[must_use = "futures do nothing unless polled"]
1010
pub struct PollFn<F> {

futures-util/src/future/ready.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ use core::pin::Pin;
22
use futures_core::future::{FusedFuture, Future};
33
use futures_core::task::{Waker, Poll};
44

5-
/// Future for the [`ready`](ready()) combinator.
5+
/// Future for the [`ready`](ready()) function.
66
#[derive(Debug, Clone)]
77
#[must_use = "futures do nothing unless polled"]
88
pub struct Ready<T>(Option<T>);

futures-util/src/future/shared.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ use std::sync::atomic::AtomicUsize;
99
use std::sync::atomic::Ordering::SeqCst;
1010
use std::sync::{Arc, Mutex};
1111

12-
/// Future for the [`shared`](super::FutureExt::shared) combinator.
12+
/// Future for the [`shared`](super::FutureExt::shared) method.
1313
#[must_use = "futures do nothing unless polled"]
1414
pub struct Shared<Fut: Future> {
1515
inner: Option<Arc<Inner<Fut>>>,

futures-util/src/future/then.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use futures_core::future::{FusedFuture, Future};
44
use futures_core::task::{Waker, Poll};
55
use pin_utils::unsafe_pinned;
66

7-
/// Future for the [`then`](super::FutureExt::then) combinator.
7+
/// Future for the [`then`](super::FutureExt::then) method.
88
#[derive(Debug)]
99
#[must_use = "futures do nothing unless polled"]
1010
pub struct Then<Fut1, Fut2, F> {

futures-util/src/io/close.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use futures_io::AsyncWrite;
44
use std::io;
55
use std::pin::Pin;
66

7-
/// Future for the [`close`](super::AsyncWriteExt::close) combinator.
7+
/// Future for the [`close`](super::AsyncWriteExt::close) method.
88
#[derive(Debug)]
99
pub struct Close<'a, W: ?Sized + Unpin> {
1010
writer: &'a mut W,

futures-util/src/io/copy_into.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use std::boxed::Box;
55
use std::io;
66
use std::pin::Pin;
77

8-
/// Future for the [`copy_into`](super::AsyncReadExt::copy_into) combinator.
8+
/// Future for the [`copy_into`](super::AsyncReadExt::copy_into) method.
99
#[derive(Debug)]
1010
pub struct CopyInto<'a, R: ?Sized + Unpin, W: ?Sized + Unpin> {
1111
reader: &'a mut R,

futures-util/src/io/disabled/lines.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ use {Poll, Stream};
66

77
use io::AsyncRead;
88

9-
/// Future for the [`lines`] combinator.
9+
/// Future for the [`lines`] function.
1010
#[derive(Debug)]
1111
pub struct Lines<A> {
1212
io: A,

futures-util/src/io/disabled/read_until.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ use {Poll, Future};
66

77
use io::AsyncRead;
88

9-
/// Future for the [`read_until`] combinator.
9+
/// Future for the [`read_until`] function.
1010
#[derive(Debug)]
1111
pub struct ReadUntil<A> {
1212
state: State<A>,

futures-util/src/io/flush.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use futures_io::AsyncWrite;
44
use std::io;
55
use std::pin::Pin;
66

7-
/// Future for the [`flush`](super::AsyncWriteExt::flush) combinator.
7+
/// Future for the [`flush`](super::AsyncWriteExt::flush) method.
88
#[derive(Debug)]
99
pub struct Flush<'a, W: ?Sized + Unpin> {
1010
writer: &'a mut W,

futures-util/src/io/read.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use futures_core::task::{Waker, Poll};
44
use std::io;
55
use std::pin::Pin;
66

7-
/// Future for the [`read`](super::AsyncReadExt::read) combinator.
7+
/// Future for the [`read`](super::AsyncReadExt::read) method.
88
#[derive(Debug)]
99
pub struct Read<'a, R: ?Sized + Unpin> {
1010
reader: &'a mut R,

futures-util/src/io/read_exact.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use std::io;
55
use std::mem;
66
use std::pin::Pin;
77

8-
/// Future for the [`read_exact`](super::AsyncReadExt::read_exact) combinator.
8+
/// Future for the [`read_exact`](super::AsyncReadExt::read_exact) method.
99
#[derive(Debug)]
1010
pub struct ReadExact<'a, R: ?Sized + Unpin> {
1111
reader: &'a mut R,

futures-util/src/io/read_to_end.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use std::io;
55
use std::pin::Pin;
66
use std::vec::Vec;
77

8-
/// Future for the [`read_to_end`](super::AsyncReadExt::read_to_end) combinator.
8+
/// Future for the [`read_to_end`](super::AsyncReadExt::read_to_end) method.
99
#[derive(Debug)]
1010
pub struct ReadToEnd<'a, R: ?Sized + Unpin> {
1111
reader: &'a mut R,

futures-util/src/io/write_all.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use std::io;
55
use std::mem;
66
use std::pin::Pin;
77

8-
/// Future for the [`write_all`](super::AsyncWriteExt::write_all) combinator.
8+
/// Future for the [`write_all`](super::AsyncWriteExt::write_all) method.
99
#[derive(Debug)]
1010
pub struct WriteAll<'a, W: ?Sized + Unpin> {
1111
writer: &'a mut W,

futures-util/src/sink/buffer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use pin_utils::{unsafe_pinned, unsafe_unpinned};
55
use core::pin::Pin;
66
use alloc::collections::VecDeque;
77

8-
/// Sink for the [`buffer`](super::SinkExt::buffer) combinator.
8+
/// Sink for the [`buffer`](super::SinkExt::buffer) method.
99
#[derive(Debug)]
1010
#[must_use = "sinks do nothing unless polled"]
1111
pub struct Buffer<Si: Sink<Item>, Item> {

futures-util/src/sink/close.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use futures_core::future::Future;
44
use futures_core::task::{Waker, Poll};
55
use futures_sink::Sink;
66

7-
/// Future for the [`close`](super::SinkExt::close) combinator.
7+
/// Future for the [`close`](super::SinkExt::close) method.
88
#[derive(Debug)]
99
#[must_use = "futures do nothing unless polled"]
1010
pub struct Close<'a, Si: Sink<Item> + Unpin + ?Sized, Item> {

futures-util/src/sink/drain.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use core::pin::Pin;
44
use futures_core::task::{Waker, Poll};
55
use futures_sink::Sink;
66

7-
/// Sink for the [`drain`] combinator.
7+
/// Sink for the [`drain`] function.
88
#[derive(Debug)]
99
#[must_use = "futures do nothing unless polled"]
1010
pub struct Drain<T> {

futures-util/src/sink/err_into.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use futures_core::task::{Waker, Poll};
55
use futures_sink::{Sink};
66
use pin_utils::unsafe_pinned;
77

8-
/// Sink for the [`sink_err_into`](super::SinkExt::sink_err_into) combinator.
8+
/// Sink for the [`sink_err_into`](super::SinkExt::sink_err_into) method.
99
#[derive(Debug)]
1010
#[must_use = "futures do nothing unless polled"]
1111
pub struct SinkErrInto<Si: Sink<Item>, Item, E> {

futures-util/src/sink/flush.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use futures_core::future::Future;
44
use futures_core::task::{Waker, Poll};
55
use futures_sink::Sink;
66

7-
/// Future for the [`flush`](super::SinkExt::flush) combinator.
7+
/// Future for the [`flush`](super::SinkExt::flush) method.
88
#[derive(Debug)]
99
#[must_use = "futures do nothing unless polled"]
1010
pub struct Flush<'a, Si: Sink<Item> + Unpin + ?Sized, Item> {

futures-util/src/sink/map_err.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use futures_core::task::{Waker, Poll};
44
use futures_sink::{Sink};
55
use pin_utils::{unsafe_pinned, unsafe_unpinned};
66

7-
/// Sink for the [`sink_map_err`](super::SinkExt::sink_map_err) combinator.
7+
/// Sink for the [`sink_map_err`](super::SinkExt::sink_map_err) method.
88
#[derive(Debug)]
99
#[must_use = "sinks do nothing unless polled"]
1010
pub struct SinkMapErr<Si, F> {

futures-util/src/sink/send.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use futures_core::future::Future;
33
use futures_core::task::{Waker, Poll};
44
use futures_sink::Sink;
55

6-
/// Future for the [`send`](super::SinkExt::send) combinator.
6+
/// Future for the [`send`](super::SinkExt::send) method.
77
#[derive(Debug)]
88
#[must_use = "futures do nothing unless polled"]
99
pub struct Send<'a, Si: Sink<Item> + Unpin + ?Sized, Item> {

futures-util/src/sink/send_all.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use futures_core::stream::Stream;
55
use futures_core::task::{Waker, Poll};
66
use futures_sink::Sink;
77

8-
/// Future for the [`send_all`](super::SinkExt::send_all) combinator.
8+
/// Future for the [`send_all`](super::SinkExt::send_all) method.
99
#[derive(Debug)]
1010
#[must_use = "futures do nothing unless polled"]
1111
pub struct SendAll<'a, Si, St>

futures-util/src/sink/with.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ use futures_core::task::{Waker, Poll};
77
use futures_sink::Sink;
88
use pin_utils::{unsafe_pinned, unsafe_unpinned};
99

10-
/// Sink for the [`with`](super::SinkExt::with) combinator.
10+
/// Sink for the [`with`](super::SinkExt::with) method.
1111
#[derive(Debug)]
1212
#[must_use = "sinks do nothing unless polled"]
1313
pub struct With<Si, Item, U, Fut, F>

futures-util/src/sink/with_flat_map.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use futures_core::task::{Waker, Poll};
55
use futures_sink::Sink;
66
use pin_utils::{unsafe_pinned, unsafe_unpinned};
77

8-
/// Sink for the [`with_flat_map`](super::SinkExt::with_flat_map) combinator.
8+
/// Sink for the [`with_flat_map`](super::SinkExt::with_flat_map) method.
99
#[derive(Debug)]
1010
#[must_use = "sinks do nothing unless polled"]
1111
pub struct WithFlatMap<Si, Item, U, St, F>

futures-util/src/stream/buffer_unordered.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use core::fmt;
88
use core::pin::Pin;
99

1010
/// Stream for the [`buffer_unordered`](super::StreamExt::buffer_unordered)
11-
/// combinator.
11+
/// method.
1212
#[must_use = "streams do nothing unless polled"]
1313
pub struct BufferUnordered<St>
1414
where

futures-util/src/stream/buffered.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ use pin_utils::{unsafe_pinned, unsafe_unpinned};
77
use core::fmt;
88
use core::pin::Pin;
99

10-
/// Stream for the [`buffered`](super::StreamExt::buffered) combinator.
10+
/// Stream for the [`buffered`](super::StreamExt::buffered) method.
1111
#[must_use = "streams do nothing unless polled"]
1212
pub struct Buffered<St: Stream>
1313
where

futures-util/src/stream/catch_unwind.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ use std::pin::Pin;
66
use std::panic::{catch_unwind, UnwindSafe, AssertUnwindSafe};
77
use std::prelude::v1::*;
88

9-
/// Stream for the [`catch_unwind`](super::StreamExt::catch_unwind) combinator.
9+
/// Stream for the [`catch_unwind`](super::StreamExt::catch_unwind) method.
1010
#[derive(Debug)]
1111
#[must_use = "streams do nothing unless polled"]
1212
pub struct CatchUnwind<St: Stream> {

futures-util/src/stream/chain.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use futures_core::stream::{FusedStream, Stream};
33
use futures_core::task::{Waker, Poll};
44
use pin_utils::unsafe_pinned;
55

6-
/// Stream for the [`chain`](super::StreamExt::chain) combinator.
6+
/// Stream for the [`chain`](super::StreamExt::chain) method.
77
#[derive(Debug)]
88
#[must_use = "streams do nothing unless polled"]
99
pub struct Chain<St1, St2> {

futures-util/src/stream/chunks.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ use core::mem;
77
use core::pin::Pin;
88
use alloc::prelude::v1::*;
99

10-
/// Stream for the [`chunks`](super::StreamExt::chunks) combinator.
10+
/// Stream for the [`chunks`](super::StreamExt::chunks) method.
1111
#[derive(Debug)]
1212
#[must_use = "streams do nothing unless polled"]
1313
pub struct Chunks<St: Stream> {

futures-util/src/stream/collect.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use futures_core::stream::{FusedStream, Stream};
55
use futures_core::task::{Waker, Poll};
66
use pin_utils::{unsafe_pinned, unsafe_unpinned};
77

8-
/// Future for the [`collect`](super::StreamExt::collect) combinator.
8+
/// Future for the [`collect`](super::StreamExt::collect) method.
99
#[derive(Debug)]
1010
#[must_use = "streams do nothing unless polled"]
1111
pub struct Collect<St, C> {

0 commit comments

Comments
 (0)