Skip to content

Document attributes on closures and method calls#2314

Open
Unique-Usman wants to merge 1 commit into
rust-lang:masterfrom
Unique-Usman:ua/stabilize-closure-method
Open

Document attributes on closures and method calls#2314
Unique-Usman wants to merge 1 commit into
rust-lang:masterfrom
Unique-Usman:ua/stabilize-closure-method

Conversation

@Unique-Usman

Copy link
Copy Markdown

Update the expression attribute documentation to cover attributes directly on closure and method-call expressions.

Document that an attribute before a method-call expression applies to the complete method-call chain.

This accompanies the rust-lang/rust stabilization of these expression attribute positions.

Update the expression attribute documentation to cover
attributes directly on closure and method-call expressions.

Document that an attribute before a method-call expression
applies to the complete method-call chain.

This accompanies the rust-lang/rust stabilization of these
expression attribute positions.

Signed-off-by: Usman Akinyemi <usmanakinyemi202@gmail.com>
@rustbot rustbot added the S-waiting-on-review Status: The marked PR is awaiting review from a maintainer label Jul 19, 2026
@Unique-Usman
Unique-Usman marked this pull request as draft July 19, 2026 21:25
@rustbot rustbot removed the S-waiting-on-review Status: The marked PR is awaiting review from a maintainer label Jul 19, 2026
@Unique-Usman

Copy link
Copy Markdown
Author

@estebank

@Unique-Usman
Unique-Usman marked this pull request as ready for review July 19, 2026 22:48
@rustbot rustbot added the S-waiting-on-review Status: The marked PR is awaiting review from a maintainer label Jul 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-review Status: The marked PR is awaiting review from a maintainer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants