]> git.lizzy.rs Git - rust.git/commitdiff
Fix a docs typo
authorGleb Kozyrev <gleb@gkoz.com>
Tue, 14 Jun 2016 16:47:05 +0000 (19:47 +0300)
committerGleb Kozyrev <gleb@gkoz.com>
Wed, 15 Jun 2016 10:06:48 +0000 (13:06 +0300)
src/libstd/fs.rs

index cb8105d7dc1d7d2c532dc5183d0c5d82b3f846fa..668fa1fb303601cefa74c819c7a9d2cf974fb5f0 100644 (file)
@@ -512,7 +512,7 @@ pub fn create(&mut self, create: bool) -> &mut OpenOptions {
     /// No file is allowed to exist at the target location, also no (dangling)
     /// symlink.
     ///
-    /// This option is useful because it as atomic. Otherwise between checking
+    /// This option is useful because it is atomic. Otherwise between checking
     /// whether a file exists and creating a new one, the file may have been
     /// created by another process (a TOCTOU race condition / attack).
     ///