Skip to content

Commit dd0f271

Browse files
committed
Remove outdated comments
Signed-off-by: Jiahao XU <[email protected]>
1 parent 0d6baba commit dd0f271

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/unix.rs

-5
Original file line numberDiff line numberDiff line change
@@ -287,9 +287,6 @@ impl Client {
287287

288288
// On Linux, we can use preadv2 to do non-blocking read,
289289
// even if `O_NONBLOCK` is not set.
290-
//
291-
// TODO: musl libc supports preadv2 since 1.2.5, but `libc` crate
292-
// hasn't yet added it.
293290
#[cfg(any(target_os = "linux", target_os = "android"))]
294291
{
295292
let read = self.read().as_raw_fd();
@@ -395,8 +392,6 @@ impl Client {
395392
}
396393
}
397394

398-
// This should be available for all linux targets,
399-
// though only [`non_blocking_read`] currently uses it so adding gnu cfg.
400395
#[cfg(any(target_os = "linux", target_os = "android"))]
401396
mod linux {
402397
use super::*;

0 commit comments

Comments
 (0)