Skip to content

Commit

Permalink
Cleanup outdated error handling docs for unfold
Browse files Browse the repository at this point in the history
Fixes #1756
  • Loading branch information
cramertj committed Nov 5, 2019
1 parent 08e4733 commit 0c165a3
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions futures-util/src/stream/unfold.rs
Expand Up @@ -19,10 +19,6 @@ use pin_utils::{unsafe_pinned, unsafe_unpinned};
/// will stop producing items and return `Poll::Ready(None)` in future
/// calls to `poll()`.
///
/// In case of error generated by the returned `Future`, the error will be
/// returned by the `Stream`. The `Stream` will then yield
/// `Poll::Ready(None)` in future calls to `poll()`.
///
/// This function can typically be used when wanting to go from the "world of
/// futures" to the "world of streams": the provided closure can build a
/// `Future` using other library functions working on futures, and `unfold()`
Expand Down

0 comments on commit 0c165a3

Please sign in to comment.