Skip to content

Commit

Permalink
Rollup merge of rust-lang#41007 - pgerber:dir_builder, r=frewsxcv
Browse files Browse the repository at this point in the history
Improve documentation for `std::fs::DirBuilder`
  • Loading branch information
frewsxcv authored Apr 3, 2017
2 parents 5046350 + ff4febf commit cd9b677
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/libstd/fs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1726,9 +1726,9 @@ impl DirBuilder {
}
}

/// Indicate that directories create should be created recursively, creating
/// all parent directories if they do not exist with the same security and
/// permissions settings.
/// Indicates that directories should be created recursively, creating all
/// parent directories. Parents that do not exist are created with the same
/// security and permissions settings.
///
/// This option defaults to `false`.
///
Expand All @@ -1749,6 +1749,9 @@ impl DirBuilder {
/// Create the specified directory with the options configured in this
/// builder.
///
/// It is considered an error if the directory already exists unless
/// recursive mode is enabled.
///
/// # Examples
///
/// ```no_run
Expand Down

0 comments on commit cd9b677

Please sign in to comment.