From 407a29ba7b9fb6463e8e3c04ba27692ccf6966c9 Mon Sep 17 00:00:00 2001 From: TennyZhuang Date: Wed, 20 Dec 2023 16:39:05 +0800 Subject: [PATCH] Remove a redundant space in example --- futures-util/src/stream/unfold.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/futures-util/src/stream/unfold.rs b/futures-util/src/stream/unfold.rs index 31f6df6c0c..f78aa45a05 100644 --- a/futures-util/src/stream/unfold.rs +++ b/futures-util/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