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

Opt-in built-in traits #13327

Closed
pcwalton opened this issue Apr 4, 2014 · 1 comment
Closed

Opt-in built-in traits #13327

pcwalton opened this issue Apr 4, 2014 · 1 comment
Labels
A-trait-system Area: Trait system A-type-system Area: Type system

Comments

@pcwalton
Copy link
Contributor

pcwalton commented Apr 4, 2014

Just putting this on the list.

@alexcrichton
Copy link
Member

dupe of #13231

matthiaskrgr pushed a commit to matthiaskrgr/rust that referenced this issue Oct 11, 2022
bors added a commit to rust-lang-ci/rust that referenced this issue Sep 24, 2024
Add new lint `manual_is_power_of_two`

Suggest using `is_power_of_two()` instead of the manual implementations for some basic cases

Part of rust-lang/rust-clippy#12894

----

changelog: new [`manual_is_power_of_two`] lint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-trait-system Area: Trait system A-type-system Area: Type system
Projects
None yet
Development

No branches or pull requests

2 participants