Skip to content

Commit fda51c2

Browse files
committed
Update RELEASES.md
1 parent 0ab2aed commit fda51c2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

RELEASES.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -22,20 +22,20 @@ Language
2222
let state = Creature::Crab("Ferris");
2323

2424
if let Creature::Crab(name) | Creature::Person(name) = state {
25-
println!("This creature's name is: {}", name);
25+
println!("This creature's name is: {}", name);
2626
}
2727
}
2828
```
2929
- [You can now have irrefutable `if let` and `while let` patterns.][57535] Using
3030
this feature will by default produce a warning as this behaviour can be
3131
unintuitive. E.g. `if let _ = 5 {}`
32-
- [You can now use `let` bindings, assignments, expression statements, and pattern destructuring in
33-
const functions.][57175]
32+
- [You can now use `let` bindings, assignments, expression statements,
33+
and irrefutable pattern destructuring in const functions.][57175]
3434
- [You can now call unsafe const functions.][57067] E.g.
3535
```rust
3636
const unsafe fn foo() -> i32 { 5 }
3737
const fn bar() -> i32 {
38-
unsafe { foo() }
38+
unsafe { foo() }
3939
}
4040
```
4141
- [You can now specify multiple attributes in a `cfg_attr` attribute.][57332]

0 commit comments

Comments
 (0)