Add tracking issue for file_create_new
This commit is contained in:
parent
9c0bc3028a
commit
0af5b7265d
1 changed files with 1 additions and 1 deletions
|
@ -401,7 +401,7 @@ impl File {
|
|||
/// Ok(())
|
||||
/// }
|
||||
/// ```
|
||||
#[unstable(feature = "file_create_new", issue = "none")]
|
||||
#[unstable(feature = "file_create_new", issue = "105135")]
|
||||
pub fn create_new<P: AsRef<Path>>(path: P) -> io::Result<File> {
|
||||
OpenOptions::new().read(true).write(true).create_new(true).open(path.as_ref())
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue