diff options
| author | Corey Farwell <coreyf@rwell.org> | 2017-09-23 00:29:19 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-09-23 00:29:19 -0400 |
| commit | 8915683c540a65ffd8384e3f830e7509c7337749 (patch) | |
| tree | 2102f728db6f11ea6c39bdd154859d9fbc4c68e0 /src/libstd | |
| parent | ec5342ba8733a7c7b350ae51bee2599f88136cdd (diff) | |
| parent | cf2bad8d4b6ffc98a1ea6378e83ad011c224ce80 (diff) | |
| download | rust-8915683c540a65ffd8384e3f830e7509c7337749.tar.gz rust-8915683c540a65ffd8384e3f830e7509c7337749.zip | |
Rollup merge of #44759 - durka:patch-43, r=steveklabnik
improve english in create_dir_all docs Just minor nitpicking.
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/fs.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libstd/fs.rs b/src/libstd/fs.rs index 99162766081..91600b01298 100644 --- a/src/libstd/fs.rs +++ b/src/libstd/fs.rs @@ -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 /// |
