We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8624f9c + 6d47489 commit a49ae1cCopy full SHA for a49ae1c
library/std/src/fs.rs
@@ -2803,8 +2803,8 @@ pub fn create_dir<P: AsRef<Path>>(path: P) -> io::Result<()> {
2803
/// Recursively create a directory and all of its parent components if they
2804
/// are missing.
2805
///
2806
-/// If this function returns an error, some of the parent components might have
2807
-/// been created already.
+/// This function is not atomic. If it returns an error, any parent components it was able to create
+/// will remain.
2808
2809
/// If the empty path is passed to this function, it always succeeds without
2810
/// creating any directories.
0 commit comments