diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-12-02 08:28:11 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-02 08:28:11 +0100 |
| commit | c7edfddc2fb4f0cb60f2077f249793a8339746f1 (patch) | |
| tree | 1a31acfcad00366010b724c766bc9ccdb7b3641c /library/std/src | |
| parent | 46c50af977c4dc0642bee000a6ccf99a17759b7b (diff) | |
| parent | 0af5b7265d8d2bf1f13d2ab3e005601782ae5170 (diff) | |
| download | rust-c7edfddc2fb4f0cb60f2077f249793a8339746f1.tar.gz rust-c7edfddc2fb4f0cb60f2077f249793a8339746f1.zip | |
Rollup merge of #105137 - yjhn:patch-1, r=Dylan-DPC
Add tracking issue number for `file_create_new` feature It was missing a tracking issue, so I opened one (#105135).
Diffstat (limited to 'library/std/src')
| -rw-r--r-- | library/std/src/fs.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/fs.rs b/library/std/src/fs.rs index 188ff00e1f8..0660e03c1a8 100644 --- a/library/std/src/fs.rs +++ b/library/std/src/fs.rs @@ -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()) } |
