]> git.lizzy.rs Git - rust.git/commitdiff
doc: add missing word
authorTshepang Lekhonkhobe <tshepang@gmail.com>
Tue, 29 Jul 2014 17:47:58 +0000 (19:47 +0200)
committerAlex Crichton <alex@alexcrichton.com>
Tue, 29 Jul 2014 22:44:21 +0000 (15:44 -0700)
src/libstd/io/fs.rs

index 790fe6cb8b93af4f489f7bdc3277b0053793dd81..fcb41c8f6fcc7a5be96e5fbd5c56feb4a8f2bf67 100644 (file)
@@ -114,7 +114,7 @@ impl File {
     /// `FileMode` and `FileAccess` provide information about the permissions
     /// context in which a given stream is created. More information about them
     /// can be found in `std::io`'s docs. If a file is opened with `Write`
-    /// or `ReadWrite` access, then it will be created it does not already
+    /// or `ReadWrite` access, then it will be created if it does not already
     /// exist.
     ///
     /// Note that, with this function, a `File` is returned regardless of the