Skip to content

Commit a4820d3

Browse files
Merge pull request #914 from cuviper/rust-1.58.0
Add File::options to 1.58
2 parents 95d209a + 469d460 commit a4820d3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

posts/2022-01-13-Rust-1.58.0.md

+2
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ The following methods and trait implementations were stabilized.
133133
- [`Option::unwrap_unchecked`]
134134
- [`Result::unwrap_unchecked`]
135135
- [`Result::unwrap_err_unchecked`]
136+
- [`File::options`]
136137

137138
The following previously stable functions are now `const`.
138139

@@ -151,6 +152,7 @@ The following previously stable functions are now `const`.
151152
[`Option::unwrap_unchecked`]: https://doc.rust-lang.org/stable/std/option/enum.Option.html#method.unwrap_unchecked
152153
[`Result::unwrap_unchecked`]: https://doc.rust-lang.org/stable/std/result/enum.Result.html#method.unwrap_unchecked
153154
[`Result::unwrap_err_unchecked`]: https://doc.rust-lang.org/stable/std/result/enum.Result.html#method.unwrap_err_unchecked
155+
[`File::options`]: https://doc.rust-lang.org/stable/std/fs/struct.File.html#method.options
154156
[`Duration::new`]: https://doc.rust-lang.org/stable/std/time/struct.Duration.html#method.new
155157
[`Duration::checked_add`]: https://doc.rust-lang.org/stable/std/time/struct.Duration.html#method.checked_add
156158
[`Duration::saturating_add`]: https://doc.rust-lang.org/stable/std/time/struct.Duration.html#method.saturating_add

0 commit comments

Comments
 (0)