-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
RFC: Rename BitAnd, BitOr, and BitXor to And, Or, and Xor #12315
Comments
How will we refer to |
I don't like this rename, because of && and ||
|
In my mind they already are consistent: |
Short-circuit and/or? or-else/and-also? |
Well... the accepted jargon is bitwise operators vs. logical operations. |
Hm ok. Should we instead do:
Might make things more consistent. |
Adding |
This issue has been moved to the RFCs repo: rust-lang/rfcs#308 |
…=y21 Extend `unnecessary_to_owned` to handle `Borrow` trait in map types Fixes rust-lang/rust-clippy#8088. Alternative to rust-lang#12315. r? `@y21` changelog: Extend `unnecessary_to_owned` to handle `Borrow` trait in map types
This would make them more consistent with the other operator trait names.
The text was updated successfully, but these errors were encountered: