@@ -148,14 +148,14 @@ pub trait Stream {
148
148
///
149
149
/// This method will consume ownership of this stream, returning an
150
150
/// implementation of a standard iterator. This iterator will *block the
151
- /// current thread* on each call to `next` if the item in the future isn't
151
+ /// current thread* on each call to `next` if the item in the stream isn't
152
152
/// ready yet.
153
153
///
154
154
/// > **Note:** This method is not appropriate to call on event loops or
155
155
/// > similar I/O situations because it will prevent the event
156
156
/// > loop from making progress (this blocks the thread). This
157
157
/// > method should only be called when it's guaranteed that the
158
- /// > blocking work associated with this future will be completed
158
+ /// > blocking work associated with this stream will be completed
159
159
/// > by another thread.
160
160
///
161
161
/// # Behavior
@@ -218,7 +218,7 @@ pub trait Stream {
218
218
/// they are made available, and the callback will be executed inline with
219
219
/// calls to `poll`.
220
220
///
221
- /// Note that this function consumes the receiving future and returns a
221
+ /// Note that this function consumes the receiving stream and returns a
222
222
/// wrapped version of it, similar to the existing `map` methods in the
223
223
/// standard library.
224
224
///
@@ -243,7 +243,7 @@ pub trait Stream {
243
243
/// they are made available, and the callback will be executed inline with
244
244
/// calls to `poll`.
245
245
///
246
- /// Note that this function consumes the receiving future and returns a
246
+ /// Note that this function consumes the receiving stream and returns a
247
247
/// wrapped version of it, similar to the existing `map_err` methods in the
248
248
/// standard library.
249
249
///
@@ -272,7 +272,7 @@ pub trait Stream {
272
272
///
273
273
/// All errors are passed through without filtering in this combinator.
274
274
///
275
- /// Note that this function consumes the receiving future and returns a
275
+ /// Note that this function consumes the receiving stream and returns a
276
276
/// wrapped version of it, similar to the existing `filter` methods in the
277
277
/// standard library.
278
278
///
@@ -301,7 +301,7 @@ pub trait Stream {
301
301
///
302
302
/// All errors are passed through without filtering in this combinator.
303
303
///
304
- /// Note that this function consumes the receiving future and returns a
304
+ /// Note that this function consumes the receiving stream and returns a
305
305
/// wrapped version of it, similar to the existing `filter_map` methods in the
306
306
/// standard library.
307
307
///
@@ -340,7 +340,7 @@ pub trait Stream {
340
340
/// trait so it is possible to simply alter the `Result` yielded to the
341
341
/// closure and return it.
342
342
///
343
- /// Note that this function consumes the receiving future and returns a
343
+ /// Note that this function consumes the receiving stream and returns a
344
344
/// wrapped version of it.
345
345
///
346
346
/// # Examples
@@ -382,7 +382,7 @@ pub trait Stream {
382
382
/// trait so it is possible to simply alter the `Result` yielded to the
383
383
/// closure and return it.
384
384
///
385
- /// Note that this function consumes the receiving future and returns a
385
+ /// Note that this function consumes the receiving stream and returns a
386
386
/// wrapped version of it.
387
387
///
388
388
/// # Examples
@@ -425,7 +425,7 @@ pub trait Stream {
425
425
/// trait so it is possible to simply alter the `Result` yielded to the
426
426
/// closure and return it.
427
427
///
428
- /// Note that this function consumes the receiving future and returns a
428
+ /// Note that this function consumes the receiving stream and returns a
429
429
/// wrapped version of it.
430
430
///
431
431
/// # Examples
0 commit comments