Apply suggestions from code review

Co-authored-by: Vadim Petrochenkov <vadim.petrochenkov@gmail.com>
Co-authored-by: Jonas Schievink <jonasschievink@gmail.com>
Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>
This commit is contained in:
XAMPPRocky 2020-10-25 20:43:44 +01:00 committed by GitHub
parent a268264073
commit 149ca76440
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 6 deletions

View File

@ -10,10 +10,10 @@ Language
Compiler
--------
- [Stabilised the `-C link-self-contained=<yes|no>`][76158] Which tells `rustc` whether to link
its own libraries or to rely on a external linker. (supported only on
its own C runtime and libraries or to rely on a external linker to find them. (supported only on
`windows-gnu`, `linux-musl`, and `wasi` platforms.)
- [You can now use `-C target-feature=+crt-static` on `linux-gnu` targets.][77386]
- [Added tier 2\* support for `aarch64-unknown-linux-musl`.][76420]
- [Added tier 2\* support for `aarch64-unknown-linux-musl`.][76420]
\* Refer to Rust's [platform support page][forge-platform-support] for more
information on Rust's tiered platform support.
@ -53,13 +53,13 @@ Cargo
Misc
----
- [You can now link to different items in `rustdoc` using the intra-doc link
syntax.][74430] E.g. ``/// Uses [`std::future`] `` will automatically generate
syntax.][74430] E.g. ``/// Uses [`std::future`]`` will automatically generate
a link to `std::future`'s documentation. See ["Linking to items by
name"][intradoc-links] for more information.
- [You can now specify `#[doc(alias = "<alias>")]` on items to add search aliases
when searching through `rustdoc`'s UI.][75740]
- [You can now use `rustup install <major>.<minor>` to specify installing the
latest availeble patch of that minor version of the toolchain.][76107] E.g.
latest available patch of that minor version of the toolchain.][76107] E.g.
`rustup install 1.45` would install `1.45.2`, and `1.46` would install `1.46.0`.
Compatibility Notes
@ -68,12 +68,12 @@ Compatibility Notes
will only warn if your code fails `const` evaluation, and not produce an error.
- [Associated type bindings on trait objects are now verified to meet the bounds
declared on the trait when checking that they implement the trait.][27675]
- [When traits bounds on associated types or opaque types are ambiguous the
- [When trait bounds on associated types or opaque types are ambiguous, the
compiler no longer makes an arbitrary choice on which bound to use.][54121]
- [Fixed recursive nonterminals not being expended in macros during
pretty-print/reparse check.][77153] This may cause errors if your macro wasn't
correctly handling recursive nonterminal tokens.
- [`&mut` references to non zero-sized types are not longer promoted.][75585]
- [`&mut` references to non zero-sized types are no longer promoted.][75585]
- [`rustc` will now warn if you use attributes like `#[link_name]` or `#[cold]`
in places where they have no effect.][73461]
- [Updated `_mm256_extract_epi8` and `_mm256_extract_epi16` signatures in