about summary refs log tree commit diff
diff options
context:
space:
mode:
author许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com>2025-01-20 12:37:53 +0800
committerGitHub <noreply@github.com>2025-01-20 12:37:53 +0800
commit5740a552e3ed402c6f5a5c20abdd2ae82f8681eb (patch)
treed081fcc0f0bb15c40cd2350eb5e577d74656a5a8
parent9a1d156f38c51441ee51e5a068f1d0caf4bb0f27 (diff)
parentaced46dcde90545c765d39684be8b184266760cc (diff)
downloadrust-5740a552e3ed402c6f5a5c20abdd2ae82f8681eb.tar.gz
rust-5740a552e3ed402c6f5a5c20abdd2ae82f8681eb.zip
Rollup merge of #135542 - kpreid:use-note, r=Mark-Simulacrum
Add the concrete syntax for precise capturing to 1.82 release notes.

This will make the note findable by searching for the “use” keyword, and skimming. Many other language additions mention their syntax in the release notes, but this one only used the name of the feature.

Inspired by https://users.rust-lang.org/t/what-is-use/124079/4
-rw-r--r--RELEASES.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/RELEASES.md b/RELEASES.md
index c4b36ed988b..d8d284ca1fa 100644
--- a/RELEASES.md
+++ b/RELEASES.md
@@ -359,7 +359,7 @@ Language
 - [`addr_of(_mut)!` macros and the newly stabilized `&raw (const|mut)` are now safe to use with all static items](https://github.com/rust-lang/rust/pull/125834)
 - [size_of_val_raw: for length 0 this is safe to call](https://github.com/rust-lang/rust/pull/126152/)
 - [Reorder trait bound modifiers *after* `for<...>` binder in trait bounds](https://github.com/rust-lang/rust/pull/127054/)
-- [Stabilize opaque type precise capturing (RFC 3617)](https://github.com/rust-lang/rust/pull/127672)
+- [Stabilize `+ use<'lt>` opaque type precise capturing (RFC 3617)](https://github.com/rust-lang/rust/pull/127672)
 - [Stabilize `&raw const` and `&raw mut` operators (RFC 2582)](https://github.com/rust-lang/rust/pull/127679)
 - [Stabilize unsafe extern blocks (RFC 3484)](https://github.com/rust-lang/rust/pull/127921)
 - [Stabilize nested field access in `offset_of!`](https://github.com/rust-lang/rust/pull/128284)