-
Notifications
You must be signed in to change notification settings - Fork 13.8k
Closed
Labels
A-grammarArea: The grammar of RustArea: The grammar of Rust
Description
Currently, as
is higher precedence than + and - but lower precedence than * and / and %. This is weird. In C, as
is higher precedence than all binary operators.
#1717 increased precedence of as
to how it is in C, but it got changed after that (when? why?).
Metadata
Metadata
Assignees
Labels
A-grammarArea: The grammar of RustArea: The grammar of Rust