From 4ea4d3ad603ca06591e33592724cd935afb0185b Mon Sep 17 00:00:00 2001 From: David Sherret Date: Sat, 15 Oct 2022 15:56:54 +0200 Subject: chore: fix windows-only clippy errors (#16289) --- ext/net/io.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/net/io.rs') 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, 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> { -- cgit v1.2.3