Pārlūkot izejas kodu

re-export CheckedRem and CheckedNeg at the root

Josh Stone 7 gadi atpakaļ
vecāks
revīzija
aa21fba9fc
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  1. 2 1
      src/lib.rs

+ 2 - 1
src/lib.rs

@@ -34,7 +34,8 @@ pub use float::FloatConst;
 // pub use real::{FloatCore, Real}; // NOTE: Don't do this, it breaks `use num_traits::*;`.
 pub use identities::{Zero, One, zero, one};
 pub use ops::inv::Inv;
-pub use ops::checked::{CheckedAdd, CheckedSub, CheckedMul, CheckedDiv, CheckedShl, CheckedShr};
+pub use ops::checked::{CheckedAdd, CheckedSub, CheckedMul, CheckedDiv,
+                       CheckedRem, CheckedNeg, CheckedShl, CheckedShr};
 pub use ops::wrapping::{WrappingAdd, WrappingMul, WrappingSub};
 pub use ops::saturating::Saturating;
 pub use sign::{Signed, Unsigned, abs, abs_sub, signum};