about summary refs log tree commit diff
path: root/library/std/src/sys/unix/ext
diff options
context:
space:
mode:
Diffstat (limited to 'library/std/src/sys/unix/ext')
-rw-r--r--library/std/src/sys/unix/ext/fs.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/library/std/src/sys/unix/ext/fs.rs b/library/std/src/sys/unix/ext/fs.rs
index afda21d00e0..16fe316110d 100644
--- a/library/std/src/sys/unix/ext/fs.rs
+++ b/library/std/src/sys/unix/ext/fs.rs
@@ -346,10 +346,9 @@ pub trait OpenOptionsExt {
     #[stable(feature = "open_options_ext", since = "1.10.0")]
     fn custom_flags(&mut self, flags: i32) -> &mut Self;
 
-    /// Get the flags of this OpenOptions as [`libc::c_int`].
-    /// With: [`libc::open`]
+    /// Get the flags as [`libc::c_int`].
     ///
-    /// This method allows the reuse of the OpenOptions as flags argument for [`fs::OpenOptions`].
+    /// This method allows the reuse of the OpenOptions as flags argument for [`libc::open`].
     ///
     /// [`libc::c_int`]: https://docs.rs/libc/*/libc/type.c_int.html
     /// [`libc::open`]: https://docs.rs/libc/*/libc/fn.open.html