File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1595,9 +1595,9 @@ pub fn create_dir<P: AsRef<Path>>(path: P) -> io::Result<()> {
1595
1595
///
1596
1596
/// Notable exception is made for situations where any of the directories
1597
1597
/// specified in the `path` could not be created as it was being created concurrently.
1598
- /// Such cases are considered success. In other words: calling `create_dir_all`
1599
- /// concurrently from multiple threads or processes is guaranteed to not fail
1600
- /// due to race itself.
1598
+ /// Such cases are considered to be successful. That is, calling `create_dir_all`
1599
+ /// concurrently from multiple threads or processes is guaranteed not to fail
1600
+ /// due to a race condition with itself.
1601
1601
///
1602
1602
/// # Examples
1603
1603
///
You can’t perform that action at this time.
0 commit comments