mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-26 22:53:28 +00:00
Update RELEASES.md
Co-Authored-By: Aaronepower <Aaronepower@users.noreply.github.com>
This commit is contained in:
parent
fb3ae5738a
commit
73921f67e9
@ -25,7 +25,7 @@ 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 and pattern destructuring in
|
- [You can now use `let` bindings, assignments, expression statements, and pattern destructuring in
|
||||||
constant functions.][57175]
|
constant functions.][57175]
|
||||||
- [You can now specify multiple attributes in a `cfg_attr` attribute.][57332]
|
- [You can now specify multiple attributes in a `cfg_attr` attribute.][57332]
|
||||||
E.g. `#[cfg_attr(all(), must_use, optimize)]`
|
E.g. `#[cfg_attr(all(), must_use, optimize)]`
|
||||||
|
Loading…
Reference in New Issue
Block a user