Skip to content

Commit 6180073

Browse files
committed
Address a clippy correctness lint
1 parent b648e65 commit 6180073

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)