Skip to content

Commit 7198d71

Browse files
committed
fmt
1 parent 1dc9ec8 commit 7198d71

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/io.rs

+1-4
Original file line numberDiff line numberDiff line change
@@ -434,10 +434,7 @@ mod tests {
434434
sched
435435
.schedule(async move {
436436
let buf = b"Hello World!";
437-
let ioslices = buf
438-
.chunks(2)
439-
.map(std::io::IoSlice::new)
440-
.collect::<Vec<_>>();
437+
let ioslices = buf.chunks(2).map(std::io::IoSlice::new).collect::<Vec<_>>();
441438
let count = tx.write_vectored(&ioslices).await.unwrap();
442439
assert_eq!(count, 12);
443440
tx.flush().await.unwrap();

0 commit comments

Comments
 (0)