Skip to content

Commit 2a7bef6

Browse files
committed
doc: this sentence did not read well
1 parent 9ae76b3 commit 2a7bef6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libstd/fs.rs

+2-2
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)