Skip to content

Commit

Permalink
Revert "Update src/sys/unix/waker.rs"
Browse files Browse the repository at this point in the history
This reverts commit f5d912e.
  • Loading branch information
stlankes committed Jul 8, 2024
1 parent a8a5c5b commit 4f70234
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/sys/unix/waker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 4f70234

Please sign in to comment.