mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
Update RELEASES.md
This commit is contained in:
parent
0ab2aedb7f
commit
fda51c2fbd
@ -29,8 +29,8 @@ Language
|
|||||||
- [You can now have irrefutable `if let` and `while let` patterns.][57535] Using
|
- [You can now have irrefutable `if let` and `while let` patterns.][57535] Using
|
||||||
this feature will by default produce a warning as this behaviour can be
|
this feature will by default produce a warning as this behaviour can be
|
||||||
unintuitive. E.g. `if let _ = 5 {}`
|
unintuitive. E.g. `if let _ = 5 {}`
|
||||||
- [You can now use `let` bindings, assignments, expression statements, and pattern destructuring in
|
- [You can now use `let` bindings, assignments, expression statements,
|
||||||
const functions.][57175]
|
and irrefutable pattern destructuring in const functions.][57175]
|
||||||
- [You can now call unsafe const functions.][57067] E.g.
|
- [You can now call unsafe const functions.][57067] E.g.
|
||||||
```rust
|
```rust
|
||||||
const unsafe fn foo() -> i32 { 5 }
|
const unsafe fn foo() -> i32 { 5 }
|
||||||
|
Loading…
Reference in New Issue
Block a user