fastnum/decimal/udec/impls/cmp.rs
1use crate::decimal::UnsignedDecimal;
2
3impl<const N: usize> PartialEq for UnsignedDecimal<N> {
4 #[inline]
5 fn eq(&self, other: &Self) -> bool {
6 self.eq(other)
7 }
8
9 #[allow(clippy::partialeq_ne_impl)]
10 #[inline]
11 fn ne(&self, other: &Self) -> bool {
12 self.ne(other)
13 }
14}
15
16impl<const N: usize> Eq for UnsignedDecimal<N> {}