Skip to content

Update "use" to "uses" on ln186#14944

Closed
theptrk wants to merge 1 commit intorust-lang:masterfrom
theptrk:patch-2
Closed

Update "use" to "uses" on ln186#14944
theptrk wants to merge 1 commit intorust-lang:masterfrom
theptrk:patch-2

Conversation

@theptrk
Copy link
Contributor

@theptrk theptrk commented Jun 16, 2014

No description provided.

bors added a commit to rust-lang-ci/rust that referenced this pull request Jun 5, 2023
…ative, r=HKalbasi

fix: assignment operators are right associative

Fixes rust-lang#14944

Assignment operators, be they simple or complex, are right associative in Rust ([reference]). We need to consider that fact when computing [binding power][bp] of infix operators.

The changes in `0072_destructuring_assignment.{rs,rast}` are unexpected, but I'm pretty sure it's a typo and fixed the `.rs` file accordingly.

[reference]: https://doc.rust-lang.org/reference/expressions.html#expression-precedence
[bp]: https://matklad.github.io/2020/04/13/simple-but-powerful-pratt-parsing.html
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