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 4d55743 commit bd2e021
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 @@ -108,7 +108,6 @@ mod eventfd {
Ok(WakerInternal { fd: file })
}

#[allow(clippy::unused_io_amount)] // Don't care about partial writes.
pub fn wake(&self) -> io::Result<()> {
let buf: [u8; 8] = 1u64.to_ne_bytes();
match (&self.fd).write(&buf) {
Expand Down

0 comments on commit bd2e021

Please sign in to comment.