Skip to content

Commit

Permalink
Sets as_flags as unstable
Browse files Browse the repository at this point in the history
  • Loading branch information
FedericoPonzi committed Sep 16, 2020
1 parent 321b680 commit 70292d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/std/src/sys/unix/ext/fs.rs
Expand Up @@ -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>;
}

Expand Down

0 comments on commit 70292d4

Please sign in to comment.