diff --git a/library/std/src/fs.rs b/library/std/src/fs.rs index 8b3e943b4ccd..d14d0ad2f0ea 100644 --- a/library/std/src/fs.rs +++ b/library/std/src/fs.rs @@ -1324,7 +1324,7 @@ fn read_buf(&mut self, cursor: BorrowedCursor<'_>) -> io::Result<()> { /// /// # Platform-specific behavior /// - /// This function currently returns `true` on Unix an `false` on Windows. + /// This function currently returns `true` on Unix and `false` on Windows. /// Note that this [may change in the future][changes]. /// /// [changes]: io#platform-specific-behavior @@ -1385,7 +1385,7 @@ fn write_vectored(&mut self, bufs: &[IoSlice<'_>]) -> io::Result { /// /// # Platform-specific behavior /// - /// This function currently returns `true` on Unix an `false` on Windows. + /// This function currently returns `true` on Unix and `false` on Windows. /// Note that this [may change in the future][changes]. /// /// [changes]: io#platform-specific-behavior