Skip to content

Commit

Permalink
Update src/sys/unix/waker.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Thomas de Zeeuw <[email protected]>
  • Loading branch information
stlankes and Thomasdezeeuw authored Apr 25, 2024
1 parent bd2e021 commit f5d912e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/sys/unix/waker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@ 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) {
Expand Down

0 comments on commit f5d912e

Please sign in to comment.