Closed
Description
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
- Implementation: implemented in Add a
File::create_new
constructor #98801 - Final comment period (FCP)1
- Stabilization PR
Unresolved Questions
- None yet.