mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
factor: remove unused method "zero"
This commit is contained in:
@@ -43,12 +43,10 @@ pub(crate) trait Arithmetic: Copy + Sized {
|
||||
fn one(&self) -> Self::ModInt {
|
||||
self.to_mod(1)
|
||||
}
|
||||
|
||||
fn minus_one(&self) -> Self::ModInt {
|
||||
self.to_mod(self.modulus() - 1)
|
||||
}
|
||||
fn zero(&self) -> Self::ModInt {
|
||||
self.to_mod(0)
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Clone, Copy, Debug)]
|
||||
|
||||
Reference in New Issue
Block a user