Skip to content

Commit 096c99b

Browse files
committed
[doc] add a possessive apostrophe in OpenOptionsExt::mode
1 parent 03a50ae commit 096c99b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/libstd/sys/unix/ext/fs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ pub trait OpenOptionsExt {
306306
/// If a new file is created as part of a `File::open_opts` 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.
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
310310
/// the final permissions.
311311
///
312312
/// # Examples

src/libstd/sys/vxworks/ext/fs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ pub trait OpenOptionsExt {
307307
/// If a new file is created as part of a `File::open_opts` 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.
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
311311
/// the final permissions.
312312
///
313313
/// # Examples

0 commit comments

Comments
 (0)