Skip to content

Commit

Permalink
fix: Switch write to write_all to consume
Browse files Browse the repository at this point in the history
  • Loading branch information
bryantbiggs committed Sep 12, 2024
1 parent f75e268 commit ed79109
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/shim/src/sys/windows/named_pipe_logger.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ impl log::Log for NamedPipeLogger {
.current_connection
.lock()
.unwrap()
.write(message.as_bytes())
.write_all(message.as_bytes())
{
Ok(_) => {}
Err(ref e) if e.kind() == io::ErrorKind::Interrupted => {
Expand Down

0 comments on commit ed79109

Please sign in to comment.