diff --git a/src/value/number.rs b/src/value/number.rs index 0007755..2784860 100644 --- a/src/value/number.rs +++ b/src/value/number.rs @@ -134,27 +134,6 @@ impl Signed for Number { } } -impl fmt::LowerHex for Number { - fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { - write!(f, "{:0>2x}", self.val.to_integer()) - } -} - -impl From for Number { - fn from(b: BigInt) -> Self { - Number { - val: BigRational::from_integer(b), - } - } -} - -impl From for BigInt { - #[inline] - fn from(b: Number) -> Self { - b.to_integer() - } -} - macro_rules! from_integer { ($ty:ty) => { impl From<$ty> for Number {