summaryrefslogtreecommitdiff
path: root/ext/net/io.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2022-10-15 15:56:54 +0200
committerGitHub <noreply@github.com>2022-10-15 13:56:54 +0000
commit4ea4d3ad603ca06591e33592724cd935afb0185b (patch)
treebe35ee0a8825eb162781af9fe26ef7471120c17e /ext/net/io.rs
parente54a8949171a79e4356484095d5145c362d82dcb (diff)
chore: fix windows-only clippy errors (#16289)
Diffstat (limited to 'ext/net/io.rs')
-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> {