about summary refs log tree commit diff
path: root/library/std
diff options
context:
space:
mode:
authorFederico Ponzi <isaacisback92@gmail.com>2020-09-22 09:54:36 +0100
committerFederico Ponzi <isaacisback92@gmail.com>2020-09-22 09:54:36 +0100
commit2f5192280f57ab859a2414ff2e9b6f6398d3feb7 (patch)
tree164071dc7a24446f6695342253df6bfcfc480f19 /library/std
parent70292d45060ee2b8829e2af0be54d5a76696cd1d (diff)
downloadrust-2f5192280f57ab859a2414ff2e9b6f6398d3feb7.tar.gz
rust-2f5192280f57ab859a2414ff2e9b6f6398d3feb7.zip
enable unstable open_options_ext_as_flags feature in doc comments
Diffstat (limited to 'library/std')
-rw-r--r--library/std/src/sys/unix/ext/fs.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/std/src/sys/unix/ext/fs.rs b/library/std/src/sys/unix/ext/fs.rs
index afcd80abb9d..15831c632ea 100644
--- a/library/std/src/sys/unix/ext/fs.rs
+++ b/library/std/src/sys/unix/ext/fs.rs
@@ -357,6 +357,7 @@ pub trait OpenOptionsExt {
     ///
     /// ```no_run
     /// # #![feature(rustc_private)]
+    /// #![feature(open_options_ext_as_flags)]
     /// extern crate libc;
     /// use std::ffi::CString;
     /// use std::fs::OpenOptions;