From 68d284545f79ca77690d935859ba0cfe0a1be4ac Mon Sep 17 00:00:00 2001 From: TennyZhuang Date: Thu, 21 Dec 2023 00:40:25 +0800 Subject: [PATCH] Remove a redundant space in example (#2816) --- 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 7d8ef6babc..2f48cccb44 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