Rollup merge of #149779 - tbu-:pr_an_false, r=joboet

Fix typo "an" → "and"
This commit is contained in:
Matthias Krüger
2025-12-09 06:17:27 +01:00
committed by GitHub
+2 -2
View File
@@ -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<usize> {
///
/// # 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