Rollup merge of #42241 - king6cong:master, r=steveklabnik

doc rewording
This commit is contained in:
Corey Farwell 2017-05-26 10:20:30 -04:00 committed by GitHub
commit 252a286383

View File

@ -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`. /// determined to not exist) are outlined by `fs::create_dir`.
/// ///
/// Notable exception is made for situations where any of the directories /// 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` /// Such cases are considered success. In other words: calling `create_dir_all`
/// concurrently from multiple threads or processes is guaranteed to not fail /// concurrently from multiple threads or processes is guaranteed to not fail
/// due to race itself. /// due to race itself.