Skip to content

Conversation

brendanzab
Copy link
Contributor

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
Contributor 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
Contributor 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