Skip to content

Commit

Permalink
remove unnecessary let
Browse files Browse the repository at this point in the history
  • Loading branch information
mox692 committed Dec 29, 2023
1 parent 720f905 commit c84f830
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tokio/tests/io_sink.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ async fn sink_is_cooperative() {
_ = async {
loop {
let buf= vec![1, 2, 3];
let _ = tokio::io::sink().write(&buf).await.unwrap();
tokio::io::sink().write(&buf).await.unwrap();
}
} => {},
_ = tokio::task::yield_now() => {}
Expand Down

0 comments on commit c84f830

Please sign in to comment.