From 4fbc583eb998574defdf6584027ec3b5cec19cab Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Wed, 31 Jan 2018 16:05:43 -0800 Subject: [PATCH] Don't use wildcards for pub use --- src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 7e85647..80227b4 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -29,11 +29,11 @@ pub use float::Float; pub use float::FloatConst; // pub use real::Real; // NOTE: Don't do this, it breaks `use num_traits::*;`. pub use identities::{Zero, One, zero, one}; -pub use ops::checked::*; -pub use ops::wrapping::*; +pub use ops::checked::{CheckedAdd, CheckedSub, CheckedMul, CheckedDiv, CheckedShl, CheckedShr}; +pub use ops::wrapping::{WrappingAdd, WrappingMul, WrappingSub}; pub use ops::saturating::Saturating; pub use sign::{Signed, Unsigned, abs, abs_sub, signum}; -pub use cast::*; +pub use cast::{AsPrimitive, FromPrimitive, ToPrimitive, NumCast, cast}; pub use int::PrimInt; pub use pow::{pow, checked_pow};