Skip to content

Conversation

@RRRadicalEdward
Copy link
Collaborator

From the lint docs:

Warns for a Bitwise XOR (^) operator being probably confused as a powering. It will not trigger if any of the numbers are not in decimal. It’s most probably a typo and may lead to unexpected behaviours.

From the lint [docs](https://rust-lang.github.io/rust-clippy/stable/index.html#suspicious_xor_used_as_pow):
> Warns for a Bitwise XOR (^) operator being probably confused as a powering. It will not trigger if any of the numbers are not in decimal. It’s most probably a typo and may lead to unexpected behaviours.
@RRRadicalEdward RRRadicalEdward self-assigned this Sep 10, 2025
@CBenoit CBenoit enabled auto-merge (squash) September 10, 2025 12:47
@github-actions
Copy link

Coverage Report 🤖 ⚙️

Past:
Total lines: 28962
Covered lines: 17725 (61.20%)

New:
Total lines: 28962
Covered lines: 17721 (61.19%)

Diff: -0.01%

[this comment will be updated automatically]

@CBenoit CBenoit merged commit a8b6fb1 into master Sep 10, 2025
10 checks passed
@CBenoit CBenoit deleted the add-suspicious_xor_user_as_pow-clippy-correctness-lint branch September 10, 2025 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants