mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-30 14:52:56 +03:00
Rollup merge of #149779 - tbu-:pr_an_false, r=joboet
Fix typo "an" → "and"
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user