Skip to content

Commit 7bb1889

Browse files
XAMPPRockyjonas-schievinkpetrochenkov
authored
Apply suggestions from code review
Co-authored-by: Jonas Schievink <jonasschievink@gmail.com> Co-authored-by: Vadim Petrochenkov <vadim.petrochenkov@gmail.com>
1 parent 8913419 commit 7bb1889

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

RELEASES.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ Version 1.49.0 (2020-11-19)
44
Language
55
-----------------------
66

7-
- [Unions now implement `Drop`, and you can now have a field in a union
7+
- [Unions can now implement `Drop`, and you can now have a field in a union
88
with `ManuallyDrop<T>`.][77547]
9-
- [You can now cast zero sized enums (0 or 1 variants) integers.][76199]
10-
- [You can now take bind by reference and by move in patterns.][76119] This
9+
- [You can now cast zero sized enums (0 or 1 variants) to integers.][76199]
10+
- [You can now bind by reference and by move in patterns.][76119] This
1111
allows you to selectively borrow individual components of a type. E.g.
1212
```rust
1313
#[derive(Debug)]
@@ -25,7 +25,7 @@ Language
2525
let Person { name, ref age } = person;
2626
println!("{} {}", name, age);
2727
```
28-
- [Macros that end with a semi-colon are now treated as statements.][78376]
28+
- [Macros that end with a semi-colon are now treated as statements even if they expand to nothing.][78376]
2929

3030
Compiler
3131
-----------------------
@@ -74,7 +74,8 @@ Compatibility Notes
7474
-------------------
7575

7676
- [Demoted `i686-unknown-freebsd` to tier 2 support.][78746]
77-
- [Rustc will now check for the validity of attributes on enum variants.][77015]
77+
- [Rustc will now check for the validity of some built-in attributes on enum variants.][77015]
78+
Previously such invalid or unused attributes could be ignored.
7879
Previously invalid or unused attributes were ignored.
7980

8081
Internal Only
@@ -83,7 +84,7 @@ These changes provide no direct user facing benefits, but represent significant
8384
improvements to the internals and overall performance of rustc and
8485
related tools.
8586

86-
- [rustc's internal crates are now compiled the `initial-exec` Thread
87+
- [rustc's internal crates are now compiled using the `initial-exec` Thread
8788
Local Storage model.][78201]
8889
- [Calculate visibilities once in resolve.][78077]
8990
- [Added `system` to the `llvm-libunwind` bootstrap config option.][77703]

0 commit comments

Comments
 (0)