diff options
| author | Alex Burka <durka42+github@gmail.com> | 2017-09-21 16:31:39 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-09-21 16:31:39 -0400 |
| commit | cf2bad8d4b6ffc98a1ea6378e83ad011c224ce80 (patch) | |
| tree | b3843cf5f3d4ff76237e74dcd431d9a930c00130 /src/libstd | |
| parent | 1b55d19479eabcb5d6cbda651187c7004aa28f7f (diff) | |
| download | rust-cf2bad8d4b6ffc98a1ea6378e83ad011c224ce80.tar.gz rust-cf2bad8d4b6ffc98a1ea6378e83ad011c224ce80.zip | |
improve english in create_dir_all docs
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 2a916b819cc..495f543c875 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 /// |
