Skip to content

Commit 2fffbb5

Browse files
authored
Rollup merge of #149779 - tbu-:pr_an_false, r=joboet
Fix typo "an" → "and"
2 parents c770681 + 27a4aab commit 2fffbb5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/std/src/fs.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1324,7 +1324,7 @@ impl Read for &File {
13241324
///
13251325
/// # Platform-specific behavior
13261326
///
1327-
/// This function currently returns `true` on Unix an `false` on Windows.
1327+
/// This function currently returns `true` on Unix and `false` on Windows.
13281328
/// Note that this [may change in the future][changes].
13291329
///
13301330
/// [changes]: io#platform-specific-behavior
@@ -1385,7 +1385,7 @@ impl Write for &File {
13851385
///
13861386
/// # Platform-specific behavior
13871387
///
1388-
/// This function currently returns `true` on Unix an `false` on Windows.
1388+
/// This function currently returns `true` on Unix and `false` on Windows.
13891389
/// Note that this [may change in the future][changes].
13901390
///
13911391
/// [changes]: io#platform-specific-behavior

0 commit comments

Comments
 (0)