Skip to content

Improve diagnostic argument wording#2903

Merged
tshepang merged 1 commit into
rust-lang:mainfrom
reflecttypefor:my_feature
Jun 17, 2026
Merged

Improve diagnostic argument wording#2903
tshepang merged 1 commit into
rust-lang:mainfrom
reflecttypefor:my_feature

Conversation

@reflecttypefor

Copy link
Copy Markdown

This improves the wording in the diagnostic structs documentation for subdiagnostic argument handling.

The change fixes a few grammar issues and clarifies the example while keeping the existing technical meaning unchanged.

@rustbot

rustbot commented Jun 17, 2026

Copy link
Copy Markdown
Collaborator

Thanks for the PR. If you have write access, feel free to merge this PR if it does not need reviews. You can request a review using r? rustc-dev-guide or r? <username>.

@rustbot rustbot added the S-waiting-on-review Status: this PR is waiting for a reviewer to verify its content label Jun 17, 2026
@tshepang tshepang merged commit f2aacc2 into rust-lang:main Jun 17, 2026
1 check passed
@rustbot rustbot removed the S-waiting-on-review Status: this PR is waiting for a reviewer to verify its content label Jun 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants