Skip to content

Commit 9dfb4ac

Browse files
committed
Rollup merge of rust-lang#31090 - tshepang:improve-sentence, r=brson
2 parents bdd1507 + 2a7bef6 commit 9dfb4ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libstd/fs.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -487,8 +487,8 @@ impl OpenOptions {
487487
/// This option indicates whether a new file will be created if the file
488488
/// does not yet already exist.
489489
///
490-
/// The file must be opened with write or append access in order to create
491-
/// a new file.
490+
/// In order for the file to be created, `write` or `append` access must
491+
/// be used.
492492
///
493493
/// # Examples
494494
///

0 commit comments

Comments
 (0)