diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-04-30 21:55:14 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-05-07 08:15:19 -0700 |
| commit | 5592a8f5db52a11b63547b661b3a635655b16980 (patch) | |
| tree | ba3d99fb5c05a427602e3094e45644c2d67dca6b /src/libstd/lib.rs | |
| parent | b024ba544c8cf831423cdd24d2dc516d66dc6269 (diff) | |
| download | rust-5592a8f5db52a11b63547b661b3a635655b16980.tar.gz rust-5592a8f5db52a11b63547b661b3a635655b16980.zip | |
core: Inherit the cmp module
This removes the TotalOrd and TotalEq implementation macros, they will be added later to the numeric modules (where the other comparison implementations live).
Diffstat (limited to 'src/libstd/lib.rs')
| -rw-r--r-- | src/libstd/lib.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs index 63d86e43427..041959f2ee7 100644 --- a/src/libstd/lib.rs +++ b/src/libstd/lib.rs @@ -135,6 +135,7 @@ extern crate core; #[cfg(not(test))] pub use kinds = core::kinds; #[cfg(not(test))] pub use ops = core::ops; +#[cfg(not(test))] pub use cmp = core::cmp; #[cfg(not(test))] pub use ty = core::ty; pub use core::any; @@ -207,13 +208,10 @@ mod reference; pub mod rc; pub mod gc; - /* Core language traits */ -#[cfg(not(test))] pub mod cmp; #[cfg(not(test))] pub mod owned; - /* Common traits */ pub mod from_str; |
