reference
reference copied to clipboard
The Rust Reference
This is the reference PR accompanying https://github.com/rust-lang/rust/pull/129195. Fixes https://github.com/rust-lang/rust/issues/57349 Fixes https://github.com/rust-lang/rust/issues/80384
This adds identifier syntax to `expressions.md` and all subchapters.
From #1550: > The go forward plan adopted by T-spec on 2024-06-13 includes, as one step, to reformat all of the chapters of the Reference to attach named identifiers to...
This alters the text of the inline-assembly chapter to clarify that ending an inline-assembly block with a prefix or using a "stateful" assembly directive without reverting it results in undefined...
1. [Path patterns (src):](https://doc.rust-lang.org/reference/patterns.html#path-patterns) > Qualified path patterns can only refer to associated constants How about this? -> `::A` Couldn't this be used as a qualified path pattern, for example...
This updates the closure documentation to incorporate the changes for [RFC 2229](https://github.com/rust-lang/rfcs/blob/master/text/2229-capture-disjoint-fields.md) disjoint closure captures in Edition 2021. This is a repost of https://github.com/rust-lang/reference/pull/1059 with some changes that I applied....
This adds documentation for the edition differences for unsafe extern blocks in the 2024 edition. The main documentation was added in #1536, and this just adds what is now different...
Adds links for the 2024 edition prelude (https://github.com/rust-lang/rust/issues/121042). Draft pending 2024 stabilization.
I see the master branch now contains some of the new C++-style paragraph identifiers (strings like `[asm.rules.mem-same-as-ffi]`). I think it's important that the Reference's introduction should say something about what...
This adds spec identifier syntax to interior-mutability.md