diff options
| author | Brendan Zabarauskas <bjzaba@yahoo.com.au> | 2014-01-09 15:29:09 +1100 |
|---|---|---|
| committer | Brendan Zabarauskas <bjzaba@yahoo.com.au> | 2014-01-09 15:29:09 +1100 |
| commit | 0232fed174b9f7d227fd70c356ccd226dd47cab1 (patch) | |
| tree | 4e7527c80ab2b82fa9a41b3e43b6dad25c216f75 /src/libstd/sync/mpmc_bounded_queue.rs | |
| parent | 9dece60391943297a734424bde3f04e2fa479729 (diff) | |
| download | rust-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/sync/mpmc_bounded_queue.rs')
| -rw-r--r-- | src/libstd/sync/mpmc_bounded_queue.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/sync/mpmc_bounded_queue.rs b/src/libstd/sync/mpmc_bounded_queue.rs index fe51de4e42d..18d17eed885 100644 --- a/src/libstd/sync/mpmc_bounded_queue.rs +++ b/src/libstd/sync/mpmc_bounded_queue.rs @@ -31,7 +31,7 @@ use clone::Clone; use kinds::Send; -use num::{Exponential,Algebraic,Round}; +use num::{Real, Round}; use option::{Option, Some, None}; use sync::arc::UnsafeArc; use sync::atomics::{AtomicUint,Relaxed,Release,Acquire}; |
