diff --git a/ext/net/io.rs b/ext/net/io.rs index 4c9fbe3d22..5320342701 100644 --- a/ext/net/io.rs +++ b/ext/net/io.rs @@ -146,10 +146,10 @@ pub struct UnixStreamResource; #[cfg(not(unix))] impl UnixStreamResource { - fn read(self: Rc, data: &mut [u8]) -> AsyncResult { + fn read(self: Rc, _data: &mut [u8]) -> AsyncResult { unreachable!() } - fn write(self: Rc, data: &[u8]) -> AsyncResult { + fn write(self: Rc, _data: &[u8]) -> AsyncResult { unreachable!() } pub async fn shutdown(self: Rc) -> Result<(), AnyError> {