Skip to content

Commit 764591a

Browse files
committed
chore: fix README formatting
1 parent 113846e commit 764591a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ use futures_util::{pin_mut, stream::StreamExt};
88

99
#[tokio::main]
1010
async fn main() {
11-
let stream = async_stream(|r#yield| async move {
11+
let stream = async_stream(|r#yield| async move {
1212
for i in 0..3 {
1313
r#yield(i).await;
1414
}
1515
});
16-
pin_mut!(stream);
17-
while let Some(value) = stream.next().await {
18-
println!("got {}", value);
19-
}
16+
pin_mut!(stream);
17+
while let Some(value) = stream.next().await {
18+
println!("got {}", value);
19+
}
2020
}
2121
```
2222

0 commit comments

Comments
 (0)