mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-29 03:57:44 +00:00
Merge pull request #1606 from rivy/fix.warning
refactor/polish ~ (factor) fix `cargo clippy` complaint (unused_imports)
This commit is contained in:
commit
143c2198d8
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