]> git.lizzy.rs Git - rust.git/commitdiff
doc rewording
authorking6cong <king6cong@gmail.com>
Fri, 26 May 2017 11:21:29 +0000 (19:21 +0800)
committerking6cong <king6cong@gmail.com>
Fri, 26 May 2017 11:22:25 +0000 (19:22 +0800)
src/libstd/fs.rs

index 528d903b8b0187ba155995fb79754ed302ff043e..69843199348b585ee053cfefb98ea6853f7f1482 100644 (file)
@@ -1545,7 +1545,7 @@ pub fn create_dir<P: AsRef<Path>>(path: P) -> io::Result<()> {
 /// determined to not exist) are outlined by `fs::create_dir`.
 ///
 /// Notable exception is made for situations where any of the directories
-/// specified in the `path` could not be created as it was created concurrently.
+/// specified in the `path` could not be created as it was being created concurrently.
 /// Such cases are considered success. In other words: calling `create_dir_all`
 /// concurrently from multiple threads or processes is guaranteed to not fail
 /// due to race itself.