Skip to content

Commit bd742f5

Browse files
committed
fix: Remove unused Windows shim import, switch write to write_all to consume
1 parent f75e268 commit bd742f5

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,3 @@
1414
limitations under the License.
1515
*/
1616
pub(crate) mod named_pipe_logger;
17-
pub use named_pipe_logger::NamedPipeLogger;

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)