Skip to content

Fix incomplete doc comment on ExprUnary#1973

Merged
dtolnay merged 1 commit intodtolnay:masterfrom
mehrad31415:master
Mar 18, 2026
Merged

Fix incomplete doc comment on ExprUnary#1973
dtolnay merged 1 commit intodtolnay:masterfrom
mehrad31415:master

Conversation

@mehrad31415
Copy link
Contributor

The doc comment on ExprUnary lists !x, *x as examples but omits -x, even though UnOp includes Neg(Token![-]) and -x is parsed as ExprUnary.

@dtolnay dtolnay merged commit d1b9a9d into dtolnay:master Mar 18, 2026
19 checks passed
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.

2 participants