mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 00:03:43 +00:00
Sets as_flags as unstable
This commit is contained in:
parent
321b680fe6
commit
70292d4506
@ -367,7 +367,7 @@ pub trait OpenOptionsExt {
|
||||
/// let file_name = CString::new("foo.txt").unwrap();
|
||||
/// let file = unsafe { libc::open(file_name.as_c_str().as_ptr(), options.as_flags().unwrap()) };
|
||||
/// ```
|
||||
#[stable(feature = "open_options_ext_as_flags", since = "1.47.0")]
|
||||
#[unstable(feature = "open_options_ext_as_flags", issue = "76801")]
|
||||
fn as_flags(&self) -> io::Result<libc::c_int>;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user