enable unstable open_options_ext_as_flags feature in doc comments

This commit is contained in:
Federico Ponzi
2020-09-22 09:54:36 +01:00
parent 70292d4506
commit 2f5192280f
+1
View File
@@ -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;