Feature gate: #![feature(file_create_new)]
This is a tracking issue for std::fs::File::create_new(path) function. It is related to RFC 1252, but isn't part of the RFC.
Public API
// std::fs
impl File
pub fn create_new<P: AsRef<Path>>(path: P) -> io::Result<File>
}
Steps / History
Unresolved Questions
Feature gate:
#![feature(file_create_new)]This is a tracking issue for
std::fs::File::create_new(path)function. It is related to RFC 1252, but isn't part of the RFC.Public API
Steps / History
File::create_newconstructor #98801Unresolved Questions
Footnotes
https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html ↩