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:
parent
aa1285e305
commit
92075c7d14
2 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue