Skip to content

Commit 70292d4

Browse files
author
Federico Ponzi
committed
Sets as_flags as unstable
1 parent 321b680 commit 70292d4

File tree

1 file changed

+1
-1
lines changed
  • library/std/src/sys/unix/ext

1 file changed

+1
-1
lines changed

library/std/src/sys/unix/ext/fs.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ pub trait OpenOptionsExt {
367367
/// let file_name = CString::new("foo.txt").unwrap();
368368
/// let file = unsafe { libc::open(file_name.as_c_str().as_ptr(), options.as_flags().unwrap()) };
369369
/// ```
370-
#[stable(feature = "open_options_ext_as_flags", since = "1.47.0")]
370+
#[unstable(feature = "open_options_ext_as_flags", issue = "76801")]
371371
fn as_flags(&self) -> io::Result<libc::c_int>;
372372
}
373373

0 commit comments

Comments
 (0)