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 {
303303pub trait OpenOptionsExt {
304304 /// Sets the mode bits that a new file will be created with.
305305 ///
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
307307 /// specified `mode` will be used as the permission bits for the new file.
308308 /// If no `mode` is set, the default of `0o666` will be used.
309309 /// 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 {
304304pub trait OpenOptionsExt {
305305 /// Sets the mode bits that a new file will be created with.
306306 ///
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
308308 /// specified `mode` will be used as the permission bits for the new file.
309309 /// If no `mode` is set, the default of `0o666` will be used.
310310 /// 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