Skip to content

Commit 87ac767

Browse files
authored
Rollup merge of rust-lang#146277 - Kivooeo:u64-unlock, r=scottmcm
Enable `u64` limbs in `core::num::bignum` Since `u128` is stable now, I guess, we can safely add this, not sure if this requires tests or anything cc rust-lang#137887
2 parents 4b94758 + 13ed4a3 commit 87ac767

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

library/core/src/num/bignum.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,7 @@ impl_full_ops! {
5959
u8: add(intrinsics::u8_add_with_overflow), mul/div(u16);
6060
u16: add(intrinsics::u16_add_with_overflow), mul/div(u32);
6161
u32: add(intrinsics::u32_add_with_overflow), mul/div(u64);
62-
// See RFC #521 for enabling this.
63-
// u64: add(intrinsics::u64_add_with_overflow), mul/div(u128);
62+
u64: add(intrinsics::u64_add_with_overflow), mul/div(u128);
6463
}
6564

6665
/// Table of powers of 5 representable in digits. Specifically, the largest {u8, u16, u32} value

0 commit comments

Comments
 (0)