Merge the Bitwise and ByteOrder traits into the Int trait

This reduces the complexity of the trait hierarchy.
This commit is contained in:
Brendan Zabarauskas 2014-06-16 11:25:47 -07:00 committed by Alex Crichton
parent 4c0f8f49f6
commit ff9f92ce52
14 changed files with 391 additions and 430 deletions

View file

@ -22,7 +22,7 @@ use string::String;
pub use core::num::{Num, div_rem, Zero, zero, One, one};
pub use core::num::{Signed, abs, abs_sub, signum};
pub use core::num::{Unsigned, pow, Bounded, Bitwise};
pub use core::num::{Unsigned, pow, Bounded};
pub use core::num::{Primitive, Int, Saturating};
pub use core::num::{CheckedAdd, CheckedSub, CheckedMul, CheckedDiv};
pub use core::num::{cast, FromPrimitive, NumCast, ToPrimitive};