Rollup merge of #42241 - king6cong:master, r=steveklabnik
doc rewording
This commit is contained in:
commit
252a286383
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue