Skip to content

Commit 0c165a3

Browse files
committed
Cleanup outdated error handling docs for unfold
Fixes #1756
1 parent 08e4733 commit 0c165a3

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

futures-util/src/stream/unfold.rs

-4
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,6 @@ use pin_utils::{unsafe_pinned, unsafe_unpinned};
1919
/// will stop producing items and return `Poll::Ready(None)` in future
2020
/// calls to `poll()`.
2121
///
22-
/// In case of error generated by the returned `Future`, the error will be
23-
/// returned by the `Stream`. The `Stream` will then yield
24-
/// `Poll::Ready(None)` in future calls to `poll()`.
25-
///
2622
/// This function can typically be used when wanting to go from the "world of
2723
/// futures" to the "world of streams": the provided closure can build a
2824
/// `Future` using other library functions working on futures, and `unfold()`

0 commit comments

Comments
 (0)