diff --git a/src/posix/poll.rs b/src/posix/poll.rs index e193ac0e..36d05cb4 100644 --- a/src/posix/poll.rs +++ b/src/posix/poll.rs @@ -27,10 +27,7 @@ fn wait_fd(fd: RawFd, events: PollFlags, timeout: Duration) -> io::Result<()> { let wait = match poll_clamped(&mut fd, timeout) { Ok(r) => r, - Err(e) => { - dbg!(e); - return Err(io::Error::from(crate::Error::from(e))); - } + Err(e) => return Err(io::Error::from(crate::Error::from(e))), }; // All errors generated by poll or ppoll are already caught by the nix wrapper around libc, so // here we only need to check if there's at least 1 event @@ -116,7 +113,6 @@ mod tests { for (i, d) in MONOTONIC_DURATIONS.iter().enumerate() { let next = clamped_millis_c_int(*d); - dbg!((i, d)); assert!( next >= last, "{next} >= {last} failed for {d:?} at index {i}" @@ -136,7 +132,6 @@ mod tests { for (i, d) in MONOTONIC_DURATIONS.iter().enumerate() { let next = clamped_time_spec(*d); - dbg!((i, d)); assert!( next >= last, "{next} >= {last} failed for {d:?} at index {i}" diff --git a/src/windows/com.rs b/src/windows/com.rs index 21ed0486..fa1abbca 100644 --- a/src/windows/com.rs +++ b/src/windows/com.rs @@ -466,7 +466,6 @@ mod tests { for (i, d) in MONOTONIC_DURATIONS.iter().enumerate() { let next = COMPort::timeout_constant(*d); - dbg!((i, d)); assert!( next >= last, "{next} >= {last} failed for {d:?} at index {i}"