diff --git a/src/sys/unix/waker.rs b/src/sys/unix/waker.rs index 19e9d756e..43c9d39c3 100644 --- a/src/sys/unix/waker.rs +++ b/src/sys/unix/waker.rs @@ -128,6 +128,7 @@ mod eventfd { } /// Reset the eventfd object, only need to call this if `wake` fails. + #[allow(clippy::unused_io_amount)] // Don't care about partial reads. fn reset(&self) -> io::Result<()> { let mut buf: [u8; 8] = 0u64.to_ne_bytes(); match (&self.fd).read(&mut buf) {