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 7d2d352 commit 75f2be3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion futures-util/src/stream/unfold.rs
Original file line number Diff line number Diff line change
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 75f2be3

Please sign in to comment.