1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-29 12:07:46 +00:00

refactor/polish ~ (factor) fix cargo clippy complaint (unused_imports)

This commit is contained in:
Roy Ivy III 2020-10-14 15:00:45 -05:00
parent aa1285e305
commit 92075c7d14
2 changed files with 2 additions and 1 deletions

View file

@ -9,7 +9,6 @@ mod gcd;
pub use gcd::gcd;
pub(crate) mod traits;
use traits::{DoubleInt, Int, OverflowingAdd};
mod modular_inverse;
pub(crate) use modular_inverse::modular_inverse;

View file

@ -7,7 +7,9 @@
// * that was distributed with this source code.
use super::*;
use num_traits::identities::{One, Zero};
use traits::{DoubleInt, Int, OverflowingAdd};
pub(crate) trait Arithmetic: Copy + Sized {
// The type of integers mod m, in some opaque representation