From dd6f520f7ec5c1cd4e86c646cc8cc45c67f3a947 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Wed, 27 May 2026 20:49:44 -0700 Subject: [PATCH] clean up spaces and add a rustdoc anchor --- RELEASES.md | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/RELEASES.md b/RELEASES.md index f46077ee409b..e3ab7a4b370e 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -11,7 +11,6 @@ Language - [Support s390x vector registers in inline assembly](https://github.com/rust-lang/rust/pull/154184) - [Allow using constants of type `ManuallyDrop` as patterns (fixing a regression introduced in 1.94.0)](https://github.com/rust-lang/rust/pull/154891) - Compiler @@ -19,9 +18,6 @@ Compiler - [Enable link relaxation feature for LoongArch Linux targets](https://github.com/rust-lang/rust/pull/153427) - [Update `riscv64gc-unknown-fuchsia` baseline to RVA22 + vector](https://github.com/rust-lang/rust/pull/155072) - - - Libraries @@ -30,7 +26,6 @@ Libraries - [refactor 'valid for read/write' definition: exclude null; add that as an exception on individual methods instead](https://github.com/rust-lang/rust/pull/152615) - [Fix SGX delayed host lookup via ToSocketAddr](https://github.com/rust-lang/rust/pull/152851) - Stabilized APIs @@ -48,7 +43,6 @@ Stabilized APIs - [`core::range::Range`](https://doc.rust-lang.org/stable/std/range/struct.Range.html) - [`core::range::RangeIter`](https://doc.rust-lang.org/stable/std/range/struct.RangeIter.html) - Cargo @@ -57,11 +51,14 @@ Cargo - [Added `target.'cfg(..)'.rustdocflags` support in configuration.](https://github.com/rust-lang/cargo/pull/16846) - Fixed [CVE-2026-5222](https://blog.rust-lang.org/2026/05/25/cve-2026-5222/) and [CVE-2026-5223](https://blog.rust-lang.org/2026/05/25/cve-2026-5223/). + + Rustdoc ----- - [Deprecation notes are now rendered like any other documentation](https://github.com/rust-lang/rust/pull/149931). Previously they used the css `white-space: pre-wrap;` property and stripped any `

` elements from the rendered html, however this caused issues and unintuitive behavior. The new behavior should be more predictable, however some multi-line deprecation notes will now be rendered as as single lines. If this is undesirable, you can use the standard markdown method of forcing a linebreak, which is two spaces followed by a newline (`"\n"`). - [Don't emit rustdoc `missing_doc_code_examples` lint on impl items](https://github.com/rust-lang/rust/pull/154048) - [Seperate methods and associated functions in sidebar](https://github.com/rust-lang/rust/pull/154644) + Compatibility Notes @@ -81,7 +78,6 @@ Compatibility Notes - [Update the minimum external LLVM to 21](https://github.com/rust-lang/rust/pull/153684) - On `avr` targets, C's `double` type is 32-bit by default, so [change `c_double` to `f32` on `avr` targets to match](https://github.com/rust-lang/rust/pull/154647). This is a breaking change, but necessary to make `c_double` match C's double. - Internal Changes @@ -95,7 +91,6 @@ tools. - [target specs: stricter checks for LLVM ABI values, and correlate that with `cfg(target_abi)`](https://github.com/rust-lang/rust/pull/153769) - Version 1.95.0 (2026-04-16) ===========================