about summary refs log tree commit diff
path: root/src/libstd/sys
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2019-10-28 13:01:02 -0700
committerJosh Stone <jistone@redhat.com>2019-10-28 13:01:02 -0700
commit096c99b6ebbf0b015e920f75ac84f2b3b71b291f (patch)
treecd5affc42847fdcbaaadb9ada379530f3aff3a38 /src/libstd/sys
parent03a50ae9b87021d4a166c70d2c932f1cb0aa8f28 (diff)
downloadrust-096c99b6ebbf0b015e920f75ac84f2b3b71b291f.tar.gz
rust-096c99b6ebbf0b015e920f75ac84f2b3b71b291f.zip
[doc] add a possessive apostrophe in `OpenOptionsExt::mode`
Diffstat (limited to 'src/libstd/sys')
-rw-r--r--src/libstd/sys/unix/ext/fs.rs2
-rw-r--r--src/libstd/sys/vxworks/ext/fs.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/sys/unix/ext/fs.rs b/src/libstd/sys/unix/ext/fs.rs
index c033c60cbe9..2236ecea910 100644
--- a/src/libstd/sys/unix/ext/fs.rs
+++ b/src/libstd/sys/unix/ext/fs.rs
@@ -306,7 +306,7 @@ pub trait OpenOptionsExt {
     /// If a new file is created as part of a `File::open_opts` call then this
     /// specified `mode` will be used as the permission bits for the new file.
     /// If no `mode` is set, the default of `0o666` will be used.
-    /// The operating system masks out bits with the systems `umask`, to produce
+    /// The operating system masks out bits with the system's `umask`, to produce
     /// the final permissions.
     ///
     /// # Examples
diff --git a/src/libstd/sys/vxworks/ext/fs.rs b/src/libstd/sys/vxworks/ext/fs.rs
index 7ab7f2a1a26..a0147460a42 100644
--- a/src/libstd/sys/vxworks/ext/fs.rs
+++ b/src/libstd/sys/vxworks/ext/fs.rs
@@ -307,7 +307,7 @@ pub trait OpenOptionsExt {
     /// If a new file is created as part of a `File::open_opts` call then this
     /// specified `mode` will be used as the permission bits for the new file.
     /// If no `mode` is set, the default of `0o666` will be used.
-    /// The operating system masks out bits with the systems `umask`, to produce
+    /// The operating system masks out bits with the system's `umask`, to produce
     /// the final permissions.
     ///
     /// # Examples