Skip to content

Commit c94ea31

Browse files
committed
Specify #127054 changes
1 parent ee188ce commit c94ea31

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/changelog.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ Language changes in Rust 1.82.0
4242

4343
* `Reorder trait bound modifiers *after* \`for<...>\` binder in trait bounds <https://github.com/rust-lang/rust/pull/127054/>`_
4444

45+
* Changed syntax: :s:`TraitBound`
46+
4547
* `Stabilize opaque type precise capturing (RFC 3617) <https://github.com/rust-lang/rust/pull/127672>`_
4648

4749
* `Stabilize \`&raw const\` and \`&raw mut\` operators (RFC 2582) <https://github.com/rust-lang/rust/pull/127679>`_

src/types-and-traits.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2839,7 +2839,7 @@ Trait and Lifetime Bounds
28392839
$$($$ TraitBound $$)$$
28402840

28412841
TraitBound ::=
2842-
$$?$$? ForGenericParameterList? TypePath
2842+
($$?$$ | ForGenericParameterList)? TypePath
28432843

28442844
ForGenericParameterList ::=
28452845
$$for$$ GenericParameterList

0 commit comments

Comments
 (0)