about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-06-09 20:13:23 -0700
committerbors <bors@rust-lang.org>2013-06-09 20:13:23 -0700
commit6e5e97fc78994cb08008a8d76b71d91714385131 (patch)
tree3dd4b1b786ecc11c8a3dda2a1747f5678d71c1fe /src/libstd
parent9bcf9119d86d0484b48e7a5efb7aefee88e11134 (diff)
parent86833ea28616fd7bb6d16582aea7996549b4b873 (diff)
downloadrust-6e5e97fc78994cb08008a8d76b71d91714385131.tar.gz
rust-6e5e97fc78994cb08008a8d76b71d91714385131.zip
auto merge of #7028 : thestinger/rust/cmp, r=brson
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/cmp.rs30
1 files changed, 0 insertions, 30 deletions
diff --git a/src/libstd/cmp.rs b/src/libstd/cmp.rs
index 55530f181a1..ce6a04c3688 100644
--- a/src/libstd/cmp.rs
+++ b/src/libstd/cmp.rs
@@ -172,36 +172,6 @@ pub trait Ord {
     fn gt(&self, other: &Self) -> bool;
 }
 
-#[inline(always)]
-pub fn lt<T:Ord>(v1: &T, v2: &T) -> bool {
-    (*v1).lt(v2)
-}
-
-#[inline(always)]
-pub fn le<T:Ord>(v1: &T, v2: &T) -> bool {
-    (*v1).le(v2)
-}
-
-#[inline(always)]
-pub fn eq<T:Eq>(v1: &T, v2: &T) -> bool {
-    (*v1).eq(v2)
-}
-
-#[inline(always)]
-pub fn ne<T:Eq>(v1: &T, v2: &T) -> bool {
-    (*v1).ne(v2)
-}
-
-#[inline(always)]
-pub fn ge<T:Ord>(v1: &T, v2: &T) -> bool {
-    (*v1).ge(v2)
-}
-
-#[inline(always)]
-pub fn gt<T:Ord>(v1: &T, v2: &T) -> bool {
-    (*v1).gt(v2)
-}
-
 /// The equivalence relation. Two values may be equivalent even if they are
 /// of different types. The most common use case for this relation is
 /// container types; e.g. it is often desirable to be able to use `&str`