-
Notifications
You must be signed in to change notification settings - Fork 565
operator-expr: remove stray word in footnote #2118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
+5
−5
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"only for closures that {x} can be {y}" repeats the limitation; it should
either be "only closures that {x} can be {y}", or, if the capability ("{y}") is
implicit, it can be "only for closures that {x}". Go with the first option that
keeps the context, and remove the extra "for".
ehuss
approved these changes
Dec 18, 2025
Contributor
ehuss
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, I pushed up some nearby fixes as well.
Zalathar
added a commit
to Zalathar/rust
that referenced
this pull request
Dec 21, 2025
Update books ## rust-lang/reference 15 commits in ec78de0ffe2f8344bd0e222b17ac7a7d32dc7a26..11f84ce150bed12af4331d2110c75590c7b46261 2025-12-19 04:11:52 UTC to 2025-12-16 18:21:13 UTC - Document how closure capturing interacts with discriminant reads (rust-lang/reference#1837) - operator-expr: remove stray word in footnote (rust-lang/reference#2118) - await-expr: add a missing space (rust-lang/reference#2120) - attributes: add missing punctuation to instruction_set (rust-lang/reference#2117) - associated-items: add missing periods (rust-lang/reference#2116) - Move tools into a consolidated cargo workspace (rust-lang/reference#2115) - Unwrap all of the lexical chapters (rust-lang/reference#2113) - Unwrap const_eval.md (rust-lang/reference#2112) - Add section on expansion-time (early) name resolution (rust-lang/reference#2055) - const_eval.md: add missing word (rust-lang/reference#2068) - path-expr.md: use a more suitable punctuation (rust-lang/reference#2082) - items: clarify label for type-aliases documentation (rust-lang/reference#2110) - do not mix singular and plural (rust-lang/reference#2101) - external-blocks: add missing "and" in list (rust-lang/reference#2111) - conditional-compilation: add a space in `cfg.cfg_attr.attribute-list` (rust-lang/reference#2109)
JonathanBrouwer
added a commit
to JonathanBrouwer/rust
that referenced
this pull request
Dec 21, 2025
Update books ## rust-lang/reference 15 commits in ec78de0ffe2f8344bd0e222b17ac7a7d32dc7a26..11f84ce150bed12af4331d2110c75590c7b46261 2025-12-19 04:11:52 UTC to 2025-12-16 18:21:13 UTC - Document how closure capturing interacts with discriminant reads (rust-lang/reference#1837) - operator-expr: remove stray word in footnote (rust-lang/reference#2118) - await-expr: add a missing space (rust-lang/reference#2120) - attributes: add missing punctuation to instruction_set (rust-lang/reference#2117) - associated-items: add missing periods (rust-lang/reference#2116) - Move tools into a consolidated cargo workspace (rust-lang/reference#2115) - Unwrap all of the lexical chapters (rust-lang/reference#2113) - Unwrap const_eval.md (rust-lang/reference#2112) - Add section on expansion-time (early) name resolution (rust-lang/reference#2055) - const_eval.md: add missing word (rust-lang/reference#2068) - path-expr.md: use a more suitable punctuation (rust-lang/reference#2082) - items: clarify label for type-aliases documentation (rust-lang/reference#2110) - do not mix singular and plural (rust-lang/reference#2101) - external-blocks: add missing "and" in list (rust-lang/reference#2111) - conditional-compilation: add a space in `cfg.cfg_attr.attribute-list` (rust-lang/reference#2109)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
"only for closures that {x} can be {y}" repeats the limitation; it should either be "only closures that {x} can be {y}", or, if the capability ("{y}") is implicit, it can be "only for closures that {x}". Go with the first option that keeps the context, and remove the extra "for".