File tree 1 file changed +6
-3
lines changed
1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -1726,9 +1726,9 @@ impl DirBuilder {
1726
1726
}
1727
1727
}
1728
1728
1729
- /// Indicate that directories create should be created recursively, creating
1730
- /// all parent directories if they do not exist with the same security and
1731
- /// permissions settings.
1729
+ /// Indicates that directories should be created recursively, creating all
1730
+ /// parent directories. Parents that do not exist are created with the same
1731
+ /// security and permissions settings.
1732
1732
///
1733
1733
/// This option defaults to `false`.
1734
1734
///
@@ -1749,6 +1749,9 @@ impl DirBuilder {
1749
1749
/// Create the specified directory with the options configured in this
1750
1750
/// builder.
1751
1751
///
1752
+ /// It is considered an error if the directory already exists unless
1753
+ /// recursive mode is enabled.
1754
+ ///
1752
1755
/// # Examples
1753
1756
///
1754
1757
/// ```no_run
You can’t perform that action at this time.
0 commit comments