Skip to content

Commit

Permalink
Merge pull request rust-lang#201 from dwrensha/copy-pasta
Browse files Browse the repository at this point in the history
fix some copy/paste errors in docs
  • Loading branch information
alexcrichton authored Oct 9, 2016
2 parents a125ba5 + ac89410 commit 4940e3f
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/stream/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -148,14 +148,14 @@ pub trait Stream {
///
/// This method will consume ownership of this stream, returning an
/// implementation of a standard iterator. This iterator will *block the
/// current thread* on each call to `next` if the item in the future isn't
/// current thread* on each call to `next` if the item in the stream isn't
/// ready yet.
///
/// > **Note:** This method is not appropriate to call on event loops or
/// > similar I/O situations because it will prevent the event
/// > loop from making progress (this blocks the thread). This
/// > method should only be called when it's guaranteed that the
/// > blocking work associated with this future will be completed
/// > blocking work associated with this stream will be completed
/// > by another thread.
///
/// # Behavior
Expand Down Expand Up @@ -218,7 +218,7 @@ pub trait Stream {
/// they are made available, and the callback will be executed inline with
/// calls to `poll`.
///
/// Note that this function consumes the receiving future and returns a
/// Note that this function consumes the receiving stream and returns a
/// wrapped version of it, similar to the existing `map` methods in the
/// standard library.
///
Expand All @@ -243,7 +243,7 @@ pub trait Stream {
/// they are made available, and the callback will be executed inline with
/// calls to `poll`.
///
/// Note that this function consumes the receiving future and returns a
/// Note that this function consumes the receiving stream and returns a
/// wrapped version of it, similar to the existing `map_err` methods in the
/// standard library.
///
Expand Down Expand Up @@ -272,7 +272,7 @@ pub trait Stream {
///
/// All errors are passed through without filtering in this combinator.
///
/// Note that this function consumes the receiving future and returns a
/// Note that this function consumes the receiving stream and returns a
/// wrapped version of it, similar to the existing `filter` methods in the
/// standard library.
///
Expand Down Expand Up @@ -301,7 +301,7 @@ pub trait Stream {
///
/// All errors are passed through without filtering in this combinator.
///
/// Note that this function consumes the receiving future and returns a
/// Note that this function consumes the receiving stream and returns a
/// wrapped version of it, similar to the existing `filter_map` methods in the
/// standard library.
///
Expand Down Expand Up @@ -340,7 +340,7 @@ pub trait Stream {
/// trait so it is possible to simply alter the `Result` yielded to the
/// closure and return it.
///
/// Note that this function consumes the receiving future and returns a
/// Note that this function consumes the receiving stream and returns a
/// wrapped version of it.
///
/// # Examples
Expand Down Expand Up @@ -382,7 +382,7 @@ pub trait Stream {
/// trait so it is possible to simply alter the `Result` yielded to the
/// closure and return it.
///
/// Note that this function consumes the receiving future and returns a
/// Note that this function consumes the receiving stream and returns a
/// wrapped version of it.
///
/// # Examples
Expand Down Expand Up @@ -425,7 +425,7 @@ pub trait Stream {
/// trait so it is possible to simply alter the `Result` yielded to the
/// closure and return it.
///
/// Note that this function consumes the receiving future and returns a
/// Note that this function consumes the receiving stream and returns a
/// wrapped version of it.
///
/// # Examples
Expand Down

0 comments on commit 4940e3f

Please sign in to comment.