about summary refs log tree commit diff
path: root/src/libcore/owned.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcore/owned.rs')
-rw-r--r--src/libcore/owned.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/libcore/owned.rs b/src/libcore/owned.rs
index 486ce44147a..c483ec79e21 100644
--- a/src/libcore/owned.rs
+++ b/src/libcore/owned.rs
@@ -15,20 +15,20 @@
 #[cfg(notest)]
 impl<T:Eq> Eq for ~T {
     #[inline(always)]
-    pure fn eq(&self, other: &~T) -> bool { *(*self) == *(*other) }
+    fn eq(&self, other: &~T) -> bool { *(*self) == *(*other) }
     #[inline(always)]
-    pure fn ne(&self, other: &~T) -> bool { *(*self) != *(*other) }
+    fn ne(&self, other: &~T) -> bool { *(*self) != *(*other) }
 }
 
 #[cfg(notest)]
 impl<T:Ord> Ord for ~T {
     #[inline(always)]
-    pure fn lt(&self, other: &~T) -> bool { *(*self) < *(*other) }
+    fn lt(&self, other: &~T) -> bool { *(*self) < *(*other) }
     #[inline(always)]
-    pure fn le(&self, other: &~T) -> bool { *(*self) <= *(*other) }
+    fn le(&self, other: &~T) -> bool { *(*self) <= *(*other) }
     #[inline(always)]
-    pure fn ge(&self, other: &~T) -> bool { *(*self) >= *(*other) }
+    fn ge(&self, other: &~T) -> bool { *(*self) >= *(*other) }
     #[inline(always)]
-    pure fn gt(&self, other: &~T) -> bool { *(*self) > *(*other) }
+    fn gt(&self, other: &~T) -> bool { *(*self) > *(*other) }
 }