diff options
| author | Federico Ponzi <isaacisback92@gmail.com> | 2020-09-02 10:48:11 +0200 |
|---|---|---|
| committer | Federico Ponzi <isaacisback92@gmail.com> | 2020-09-02 10:48:11 +0200 |
| commit | 321b680fe66d1be04cd67fac75ff7f148fd117fe (patch) | |
| tree | e8d60dd875e0c2bab91ccf15efb1d07d35420bf4 /library/std/src/sys/unix/ext | |
| parent | 7c1e5c1dcd25c945f619eda289f639dbe2b002da (diff) | |
| download | rust-321b680fe66d1be04cd67fac75ff7f148fd117fe.tar.gz rust-321b680fe66d1be04cd67fac75ff7f148fd117fe.zip | |
Update docs of OpenOptions::as_flags
Diffstat (limited to 'library/std/src/sys/unix/ext')
| -rw-r--r-- | library/std/src/sys/unix/ext/fs.rs | 5 |
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 |
