]> git.lizzy.rs Git - rust.git/commitdiff
improve english in create_dir_all docs
authorAlex Burka <durka42+github@gmail.com>
Thu, 21 Sep 2017 20:31:39 +0000 (16:31 -0400)
committerGitHub <noreply@github.com>
Thu, 21 Sep 2017 20:31:39 +0000 (16:31 -0400)
src/libstd/fs.rs

index 2a916b819cca32290a091321bc65d66ba533a262..495f543c87590a01310e9e2ab7510c0d829eff27 100644 (file)
@@ -1595,9 +1595,9 @@ pub fn create_dir<P: AsRef<Path>>(path: P) -> io::Result<()> {
 ///
 /// Notable exception is made for situations where any of the directories
 /// 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.
+/// Such cases are considered to be successful. That is, calling `create_dir_all`
+/// concurrently from multiple threads or processes is guaranteed not to fail
+/// due to a race condition with itself.
 ///
 /// # Examples
 ///