diff --git a/src/common.rs b/src/common.rs index f4649a927..5eb165044 100644 --- a/src/common.rs +++ b/src/common.rs @@ -1239,7 +1239,7 @@ pub fn read_blocked(fd: RawFd, buf: &mut [u8]) -> nix::Result { } pub trait ReadExt { - /// Like [`read_to_end`], but does not retry on EINTR. + /// Like [`std::io::Read::read_to_end`], but does not retry on EINTR. fn read_to_end_interruptible(&mut self, buf: &mut Vec) -> std::io::Result<()>; }