1use core::ops::Neg; 2 3use crate::decimal::Decimal; 4 5impl<const N: usize> Neg for Decimal<N> { 6 type Output = Self; 7 8 #[inline] 9 fn neg(self) -> Self { 10 self.neg() 11 } 12}