Skip to content

Commit

Permalink
Remove a redundant space in example (#2816)
Browse files Browse the repository at this point in the history
  • Loading branch information
TennyZhuang authored and taiki-e committed Dec 24, 2023
1 parent fdd2ce7 commit 68d2845
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion futures-util/src/stream/unfold.rs
Expand Up @@ -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
Expand Down

0 comments on commit 68d2845

Please sign in to comment.