Skip to content

Commit 6c71e7d

Browse files
authored
Update RELEASES.md
1 parent 50be479 commit 6c71e7d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

RELEASES.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@ Language
1717
fn main() {
1818
let state = Creature::Crab("Ferrous");
1919

20-
if let Creature::Crab(name) | Creature::Person(name) {
20+
if let Creature::Crab(name) | Creature::Person(name) = state {
2121
println!("This creature's name is: {}", name);
2222
}
2323
}
2424
```
2525
- [You can now have irrefutable `if let` and `while let` patterns.][57535] Using
2626
this feature will by default produce a warning as this behaviour can be
2727
unintuitive. E.g. `if let _ = 5 {}`
28-
- [You can now use `let` bindings and pattern destructurcting in
28+
- [You can now use `let` bindings and pattern destructuring in
2929
constant functions.][57175]
3030
- [You can now specify multiple attributes in a `cfg_attr` attribute.][57332]
3131
E.g. `#[cfg_attr(all(), must_use, optimize)]`
@@ -34,7 +34,7 @@ Language
3434
with an alignment of 2 bytes and a size of 6 bytes.
3535
- [You can now call unsafe constant functions.][57067] E.g.
3636
```rust
37-
unsafe const fn foo() -> i32 { 5 }
37+
const unsafe fn foo() -> i32 { 5 }
3838
const fn bar() -> i32 {
3939
unsafe { foo() }
4040
}
@@ -56,8 +56,8 @@ Compiler
5656
- [The mininum required LLVM version has been bumped to 6.0.][56642]
5757
- [Added support for the PowerPC64 architecture on FreeBSD.][57615]
5858
- [The `x86_64-fortanix-unknown-sgx` target support has been upgraded to
59-
tier 2 support.][57130] Visit the [platform support] page for information on
60-
Rust's platform support.
59+
tier 2 support.][57130] Visit the [platform support][platform-support] page for
60+
information on Rust's platform support.
6161
- [Added support for the `thumbv7neon-linux-androideabi` and
6262
`thumbv7neon-unknown-linux-gnueabihf` targets.][56947]
6363
- [Added support for the `x86_64-unknown-uefi` target.][56769]
@@ -122,7 +122,7 @@ Cargo
122122
[`Duration::as_millis`]: https://doc.rust-lang.org/std/time/struct.Duration.html#as_millis
123123
[`Duration::as_micros`]: https://doc.rust-lang.org/std/time/struct.Duration.html#as_micros
124124
[`Duration::as_nanos`]: https://doc.rust-lang.org/std/time/struct.Duration.html#as_millis
125-
125+
[platform-support]: https://forge.rust-lang.org/platform-support.html
126126

127127
Version 1.32.0 (2019-01-17)
128128
==========================

0 commit comments

Comments
 (0)