Skip to content

Commit ece6516

Browse files
bryantbiggsmxpv
authored andcommitted
fix: Switch write to write_all to consume
1 parent 6f2812f commit ece6516

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/shim/src/sys/windows/named_pipe_logger.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ impl log::Log for NamedPipeLogger {
100100
.current_connection
101101
.lock()
102102
.unwrap()
103-
.write(message.as_bytes())
103+
.write_all(message.as_bytes())
104104
{
105105
Ok(_) => {}
106106
Err(ref e) if e.kind() == io::ErrorKind::Interrupted => {

0 commit comments

Comments
 (0)