summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/net/io.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/net/io.rs b/ext/net/io.rs
index 4c9fbe3d2..532034270 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<Self>, data: &mut [u8]) -> AsyncResult<usize> {
+ fn read(self: Rc<Self>, _data: &mut [u8]) -> AsyncResult<usize> {
unreachable!()
}
- fn write(self: Rc<Self>, data: &[u8]) -> AsyncResult<usize> {
+ fn write(self: Rc<Self>, _data: &[u8]) -> AsyncResult<usize> {
unreachable!()
}
pub async fn shutdown(self: Rc<Self>) -> Result<(), AnyError> {