From: XAMPPRocky <4464295+XAMPPRocky@users.noreply.github.com> Date: Sun, 25 Oct 2020 19:43:44 +0000 (+0100) Subject: Apply suggestions from code review X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=149ca76440c60a882db2ad9615869319ff31d1cc;p=rust.git Apply suggestions from code review Co-authored-by: Vadim Petrochenkov Co-authored-by: Jonas Schievink Co-authored-by: Yuki Okushi --- diff --git a/RELEASES.md b/RELEASES.md index 292c7170ddb..7fbf0b8621e 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -10,10 +10,10 @@ Language Compiler -------- - [Stabilised the `-C link-self-contained=`][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 = "")]` on items to add search aliases when searching through `rustdoc`'s UI.][75740] - [You can now use `rustup install .` 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