File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -303,10 +303,10 @@ impl PermissionsExt for Permissions {
303
303
pub trait OpenOptionsExt {
304
304
/// Sets the mode bits that a new file will be created with.
305
305
///
306
- /// If a new file is created as part of a `File::open_opts ` call then this
306
+ /// If a new file is created as part of an `OpenOptions::open ` call then this
307
307
/// specified `mode` will be used as the permission bits for the new file.
308
308
/// If no `mode` is set, the default of `0o666` will be used.
309
- /// The operating system masks out bits with the systems `umask`, to produce
309
+ /// The operating system masks out bits with the system's `umask`, to produce
310
310
/// the final permissions.
311
311
///
312
312
/// # Examples
Original file line number Diff line number Diff line change @@ -304,10 +304,10 @@ impl PermissionsExt for Permissions {
304
304
pub trait OpenOptionsExt {
305
305
/// Sets the mode bits that a new file will be created with.
306
306
///
307
- /// If a new file is created as part of a `File::open_opts ` call then this
307
+ /// If a new file is created as part of an `OpenOptions::open ` call then this
308
308
/// specified `mode` will be used as the permission bits for the new file.
309
309
/// If no `mode` is set, the default of `0o666` will be used.
310
- /// The operating system masks out bits with the systems `umask`, to produce
310
+ /// The operating system masks out bits with the system's `umask`, to produce
311
311
/// the final permissions.
312
312
///
313
313
/// # Examples
You can’t perform that action at this time.
0 commit comments