Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
elinorbgr committed Dec 27, 2021
1 parent 1dc9ec8 commit 7198d71
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/io.rs
Original file line number Diff line number Diff line change
Expand Up @@ -434,10 +434,7 @@ mod tests {
sched
.schedule(async move {
let buf = b"Hello World!";
let ioslices = buf
.chunks(2)
.map(std::io::IoSlice::new)
.collect::<Vec<_>>();
let ioslices = buf.chunks(2).map(std::io::IoSlice::new).collect::<Vec<_>>();
let count = tx.write_vectored(&ioslices).await.unwrap();
assert_eq!(count, 12);
tx.flush().await.unwrap();
Expand Down

0 comments on commit 7198d71

Please sign in to comment.