Skip to content

Commit 960dc8a

Browse files
committed
Auto merge of #4673 - rust-lang:clippy/unused-io-amount, r=Turbo87
Address a clippy correctness lint
2 parents b648e65 + 6180073 commit 960dc8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tests/util/chaosproxy.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ impl ChaosProxy {
129129
// EOF, the socket was closed
130130
return Ok(());
131131
}
132-
to.write(&buf[0..len]).await?;
132+
to.write_all(&buf[0..len]).await?;
133133
}
134134
_ = break_connections_recv.recv() => {
135135
to.shutdown().await?;

0 commit comments

Comments
 (0)