libstd: impl Num for BigUint/BigInt
This commit is contained in:
parent
5a2f65fb50
commit
5ce0795de5
@ -144,6 +144,8 @@ impl FromStr for BigUint {
|
||||
}
|
||||
}
|
||||
|
||||
impl Num for BigUint {}
|
||||
|
||||
impl Shl<uint, BigUint> for BigUint {
|
||||
#[inline(always)]
|
||||
fn shl(&self, rhs: &uint) -> BigUint {
|
||||
@ -788,6 +790,8 @@ impl FromStr for BigInt {
|
||||
}
|
||||
}
|
||||
|
||||
impl Num for BigInt {}
|
||||
|
||||
impl Shl<uint, BigInt> for BigInt {
|
||||
#[inline(always)]
|
||||
fn shl(&self, rhs: &uint) -> BigInt {
|
||||
|
Loading…
Reference in New Issue
Block a user