about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorGleb Kozyrev <gleb@gkoz.com>2016-06-14 19:47:05 +0300
committerGleb Kozyrev <gleb@gkoz.com>2016-06-15 13:06:48 +0300
commit552afd30d075f3c7ecc8918f088c3aa805f6cef7 (patch)
treeaa00fc30d4dd9ab2fad8679a0709f018983c0659 /src/libstd
parent1db97575cc679790b087e00beee6c399a0b213a5 (diff)
downloadrust-552afd30d075f3c7ecc8918f088c3aa805f6cef7.tar.gz
rust-552afd30d075f3c7ecc8918f088c3aa805f6cef7.zip
Fix a docs typo
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/fs.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/fs.rs b/src/libstd/fs.rs
index cb8105d7dc1..668fa1fb303 100644
--- a/src/libstd/fs.rs
+++ b/src/libstd/fs.rs
@@ -512,7 +512,7 @@ impl 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).
     ///