aboutsummaryrefslogtreecommitdiff
path: root/src/stream/unfold.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/stream/unfold.rs')
-rw-r--r--src/stream/unfold.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stream/unfold.rs b/src/stream/unfold.rs
index 7d8ef6b..2f48ccc 100644
--- a/src/stream/unfold.rs
+++ b/src/stream/unfold.rs
@@ -36,7 +36,7 @@ use pin_project_lite::pin_project;
/// let stream = stream::unfold(0, |state| async move {
/// if state <= 2 {
/// let next_state = state + 1;
-/// let yielded = state * 2;
+/// let yielded = state * 2;
/// Some((yielded, next_state))
/// } else {
/// None