Skip to content

Commit 111786d

Browse files
authored
Update RELEASES.md
1 parent 85f3ecf commit 111786d

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

RELEASES.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ Language
88
- [The inclusive range syntax e.g. `for x in 0..=10` is now stable.][47813]
99
- [Stablise `'_`. The underscore lifetime can be used anywhere where a
1010
lifetime can be elided.][49458]
11-
- [`impl Trait` is now stable allowing you to have abstract
12-
return types.][49255] e.g. `fn foo() -> impl Iterator<Item=u8>` or
11+
- [`impl Trait` is now stable allowing you to have abstract types in returns
12+
or in function parameters.][49255] e.g. `fn foo() -> impl Iterator<Item=u8>` or
1313
`fn open(path: impl AsRef<Path>)`.
1414
- [Pattern matching will now automatically apply dereferences.][49394]
1515
- [128-bit integers in the form of `u128` and `i128` are now stable.][49101]
1616
- [`main` can now return `Result<(), E: Debug>`][49162] in addition to `()`.
1717
- [A lot of operations are now available in a const context.][46882] E.g. You
18-
can now index into constant arrays, reference and deference into constants,
18+
can now index into constant arrays, reference and dereference into constants,
1919
and use Tuple struct constructors.
2020
- [Fixed entry slice patterns are now stable.][48516] e.g.
2121
```rust
@@ -125,6 +125,7 @@ Compatibility Notes
125125
- [`".e0"` will now no longer parse as `0.0` and will instead cause
126126
an error.][48235]
127127
- [Removed hoedown from rustdoc.][48274]
128+
- [Bounds on higher-kinded lifetimes a hard error.][48326]
128129

129130
[46882]: https://github.com/rust-lang/rust/pull/46882
130131
[47379]: https://github.com/rust-lang/rust/pull/47379
@@ -137,6 +138,7 @@ Compatibility Notes
137138
[48274]: https://github.com/rust-lang/rust/pull/48274
138139
[48281]: https://github.com/rust-lang/rust/pull/48281
139140
[48296]: https://github.com/rust-lang/rust/pull/48296
141+
[48326]: https://github.com/rust-lang/rust/pull/48326
140142
[48359]: https://github.com/rust-lang/rust/pull/48359
141143
[48404]: https://github.com/rust-lang/rust/pull/48404
142144
[48481]: https://github.com/rust-lang/rust/pull/48481

0 commit comments

Comments
 (0)