]> git.lizzy.rs Git - rust.git/commitdiff
[doc] add a possessive apostrophe in `OpenOptionsExt::mode`
authorJosh Stone <jistone@redhat.com>
Mon, 28 Oct 2019 20:01:02 +0000 (13:01 -0700)
committerJosh Stone <jistone@redhat.com>
Mon, 28 Oct 2019 20:01:02 +0000 (13:01 -0700)
src/libstd/sys/unix/ext/fs.rs
src/libstd/sys/vxworks/ext/fs.rs

index c033c60cbe9e1b8ce15a370c8bb142b50c99131c..2236ecea910d52f263a076eb64fb142e14644773 100644 (file)
@@ -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
index 7ab7f2a1a26459a27ff928c4f65268dbe0ce1592..a0147460a424d8f2baa08fc7f07fe904d9195713 100644 (file)
@@ -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