Skip to content

Commit cb5ef2a

Browse files
committed
fix(platform): correct remaining IPC module syntax
1 parent 50f3ab8 commit cb5ef2a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

wrt-platform/src/ipc.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
use core::{fmt::Debug, time::Duration};
99

1010
#[cfg(not(feature = "std"))]
11-
use std::{boxed::Box, string::String, vec::Vec};
11+
use alloc::{boxed::Box, string::String, vec::Vec};
1212
#[cfg(feature = "std")]
13-
use std::{boxed::Box, string::String, vec::Vec};
13+
use alloc::{boxed::Box, string::String, vec::Vec};
1414
use wrt_sync::WrtMutex;
1515

1616
use wrt_error::{Error, ErrorCategory, Result};
@@ -233,7 +233,7 @@ impl IpcServer {
233233
Err(e) => {
234234
if *self.running.lock() {
235235
// Only log error if we're still running
236-
eprintln!("IPC server error: {}", e);
236+
eprintln!("IPC server error: {e}");
237237
}
238238
}
239239
}

0 commit comments

Comments
 (0)