We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ae76b3 commit 2a7bef6Copy full SHA for 2a7bef6
src/libstd/fs.rs
@@ -487,8 +487,8 @@ impl OpenOptions {
487
/// This option indicates whether a new file will be created if the file
488
/// does not yet already exist.
489
///
490
- /// The file must be opened with write or append access in order to create
491
- /// a new file.
+ /// In order for the file to be created, `write` or `append` access must
+ /// be used.
492
493
/// # Examples
494
0 commit comments