We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c0bc30 commit 0af5b72Copy full SHA for 0af5b72
library/std/src/fs.rs
@@ -401,7 +401,7 @@ impl File {
401
/// Ok(())
402
/// }
403
/// ```
404
- #[unstable(feature = "file_create_new", issue = "none")]
+ #[unstable(feature = "file_create_new", issue = "105135")]
405
pub fn create_new<P: AsRef<Path>>(path: P) -> io::Result<File> {
406
OpenOptions::new().read(true).write(true).create_new(true).open(path.as_ref())
407
}
0 commit comments