File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -303,7 +303,7 @@ 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
309
/// The operating system masks out bits with the system's `umask`, to produce
Original file line number Diff line number Diff line change @@ -304,7 +304,7 @@ 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
310
/// The operating system masks out bits with the system's `umask`, to produce
You can’t perform that action at this time.
0 commit comments