about summary refs log tree commit diff
path: root/src/libstd/prelude.rs
diff options
context:
space:
mode:
authorBrendan Zabarauskas <bjzaba@yahoo.com.au>2014-01-09 15:29:09 +1100
committerBrendan Zabarauskas <bjzaba@yahoo.com.au>2014-01-09 15:29:09 +1100
commit0232fed174b9f7d227fd70c356ccd226dd47cab1 (patch)
tree4e7527c80ab2b82fa9a41b3e43b6dad25c216f75 /src/libstd/prelude.rs
parent9dece60391943297a734424bde3f04e2fa479729 (diff)
downloadrust-0232fed174b9f7d227fd70c356ccd226dd47cab1.tar.gz
rust-0232fed174b9f7d227fd70c356ccd226dd47cab1.zip
Merge some numeric traits with Real and don't re-export RealExt
The methods contained in `std::num::{Algebraic, Trigonometric, Exponential, Hyperbolic}` have now been moved into `std::num::Real`. This is part of an ongoing effort to simplify `std::num` (see issue #10387).

`std::num::RealExt` has also been removed from the prelude because it is not a commonly used trait.
Diffstat (limited to 'src/libstd/prelude.rs')
-rw-r--r--src/libstd/prelude.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/libstd/prelude.rs b/src/libstd/prelude.rs
index e1478de9485..eacac6b6ba0 100644
--- a/src/libstd/prelude.rs
+++ b/src/libstd/prelude.rs
@@ -59,9 +59,7 @@ pub use iter::{FromIterator, Extendable};
 pub use iter::{Iterator, DoubleEndedIterator, RandomAccessIterator, CloneableIterator};
 pub use iter::{OrdIterator, MutableDoubleEndedIterator, ExactSize};
 pub use num::Times;
-pub use num::{Algebraic, Trigonometric, Exponential, Hyperbolic};
-pub use num::{Bitwise, BitCount, Bounded};
-pub use num::{Integer, Fractional, Real, RealExt};
+pub use num::{Bitwise, BitCount, Bounded, Integer, Real};
 pub use num::{Num, NumCast, CheckedAdd, CheckedSub, CheckedMul};
 pub use num::{Orderable, Signed, Unsigned, Round};
 pub use num::{Primitive, Int, Float, ToStrRadix, ToPrimitive, FromPrimitive};