about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorTshepang Lekhonkhobe <tshepang@gmail.com>2016-01-21 23:27:18 +0200
committerTshepang Lekhonkhobe <tshepang@gmail.com>2016-01-21 23:27:32 +0200
commit2a7bef640daf8d041b95a100ef014b565270b0c7 (patch)
tree8803353e2fb1e7632725f3d1b7cf619a85952daa /src/libstd
parent9ae76b363c1c109b1e2ab363f92ef9db80b18075 (diff)
downloadrust-2a7bef640daf8d041b95a100ef014b565270b0c7.tar.gz
rust-2a7bef640daf8d041b95a100ef014b565270b0c7.zip
doc: this sentence did not read well
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/fs.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/fs.rs b/src/libstd/fs.rs
index 414a0ebd11f..67d88508147 100644
--- a/src/libstd/fs.rs
+++ b/src/libstd/fs.rs
@@ -487,8 +487,8 @@ impl OpenOptions {
     /// This option indicates whether a new file will be created if the file
     /// does not yet already exist.
     ///
-    /// The file must be opened with write or append access in order to create
-    /// a new file.
+    /// In order for the file to be created, `write` or `append` access must
+    /// be used.
     ///
     /// # Examples
     ///