rust/library
Jacob Pratt a49ae1c40f
Rollup merge of #141472 - fluiderson:dev, r=workingjubilee
Attempt to improve the `std::fs::create_dir_all` docs related to atomicity

The original paragraph was added in rust-lang/rust#124520. It doesn't match the actual code logic. It says "function returns an error" if "the parent components" _(which also implies directories)_ "have been created already". The code is as follows:

e88e854634/library/std/src/fs.rs (L3146)
e88e854634/library/std/src/fs.rs (L3160)

These lines suppress all errors if any path component is a directory. I've updated the paragraph to mirror this.
2025-05-26 03:38:18 +02:00
..
2025-05-12 15:33:37 +02:00
2025-05-07 13:08:19 +08:00
2025-05-12 15:33:41 +02:00
2025-05-21 13:41:58 +02:00
2025-05-01 20:01:43 +05:30
2025-05-07 13:08:19 +08:00
2025-05-15 11:20:13 +02:00