-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
core: Audit num module for int/uint #22600
Conversation
from_str_radix_int_impl! { i8 } | ||
from_str_radix_int_impl! { i16 } | ||
from_str_radix_int_impl! { i32 } | ||
from_str_radix_int_impl! { i64 } | ||
from_str_radix_int_impl! { uint } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Won't this cause a hard disappearance (in contrast to your other changes)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think not, but am not sure. Isn't an impl for usize also an impl for uint?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That... sounds believable.
@bors r+ dce44 |
Have a great day ☀️ |
* count_ones/zeros, trailing_ones/zeros return u32, not usize * rotate_left/right take u32, not usize * RADIX, MANTISSA_DIGITS, DIGITS, BITS, BYTES are u32, not usize Doesn't touch pow because there's another PR for it. cc rust-lang#22240 r? @gankro
(needs rebase) |
cc #22240 |
* count_ones/zeros, trailing_ones/zeros return u32, not usize * rotate_left/right take u32, not usize * RADIX, MANTISSA_DIGITS, DIGITS, BITS, BYTES are u32, not usize Doesn't touch pow because there's another PR for it. [breaking-change]
@bors: r=Gankro 76e9 |
closes #134
Doesn't touch pow because there's another PR for it.
cc #22240
r? @gankro