Skip to content
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

Fix clippy warning about operator precedence #1280

Merged
merged 1 commit into from
Feb 26, 2025

Conversation

wks
Copy link
Collaborator

@wks wks commented Feb 26, 2025

In Rust 1.85, Clippy started to warn about the precedence of << and | in one of our use cases, although that lint was added before Rust 1.29.

https://rust-lang.github.io/rust-clippy/master/index.html#precedence

@wks wks requested a review from qinsoon February 26, 2025 05:51
@wks wks enabled auto-merge February 26, 2025 06:14
@wks wks added this pull request to the merge queue Feb 26, 2025
Merged via the queue into mmtk:master with commit 8dded8f Feb 26, 2025
33 checks passed
@wks wks deleted the fix/clippy-precedence branch February 26, 2025 07:52
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