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

Merge Bitwise and BitCount traits and remove them from the prelude, (along with Bounded) #11548

Merged
merged 1 commit into from
Jan 16, 2014

Conversation

brendanzab
Copy link
Member

One less trait in std::num and three less exported in the prelude.

cc. #10387

@alexcrichton
Copy link
Member

Could all of the checked math go into one Checked trait or better yet the Integer trait?

@brendanzab
Copy link
Member Author

@alexcrichton Possibly. I would like to clean that stuff up, it would need a bit of thought though. I was thinking of having a std::num::checked module too.

… Bounded

One less trait in std::num, and three less exported in the prelude.
@brendanzab
Copy link
Member Author

Rebased

bors added a commit that referenced this pull request Jan 16, 2014
One less trait in `std::num` and three less exported in the prelude.

cc. #10387
@bors bors closed this Jan 16, 2014
@bors bors merged commit 1dd6906 into rust-lang:master Jan 16, 2014
@brendanzab brendanzab deleted the bitwise branch January 16, 2014 05:49
flip1995 pushed a commit to flip1995/rust that referenced this pull request Oct 21, 2023
…assocfn, r=dswij

`impl_trait_in_params` now supports impls and traits

Before this PR, the lint `impl_trait_in_params`. This PR gives the lint support for functions in impls and traits. (Also, some pretty heavy refactor)

fixes rust-lang#11548
changelog:[`impl_trait_in_params`] now supports `impl` blocks and functions in traits
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.

3 participants