about summary refs log tree commit diff
path: root/src/libcore/managed.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-05-08 18:15:41 -0700
committerbors <bors@rust-lang.org>2013-05-08 18:15:41 -0700
commit3bbbb314ee61aa00deb3e9756421fd2465fd7a91 (patch)
tree73a6df9c48dba9bb72825306b74d7aff41b435ce /src/libcore/managed.rs
parentd82d9874a6f88e0afa021796e9efaba5b3670c31 (diff)
parentcb66d8948a9375e7be65296d19586166157ec667 (diff)
downloadrust-3bbbb314ee61aa00deb3e9756421fd2465fd7a91.tar.gz
rust-3bbbb314ee61aa00deb3e9756421fd2465fd7a91.zip
auto merge of #6327 : z0w0/rust/rm-notest, r=brson
Makes it more consistent, imo.
Diffstat (limited to 'src/libcore/managed.rs')
-rw-r--r--src/libcore/managed.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/libcore/managed.rs b/src/libcore/managed.rs
index debca1ead82..d2bb88ca302 100644
--- a/src/libcore/managed.rs
+++ b/src/libcore/managed.rs
@@ -12,7 +12,7 @@
 
 use ptr::to_unsafe_ptr;
 
-#[cfg(notest)] use cmp::{Eq, Ord};
+#[cfg(not(test))] use cmp::{Eq, Ord};
 
 pub mod raw {
     use intrinsic::TyDesc;
@@ -49,7 +49,7 @@ pub fn mut_ptr_eq<T>(a: @mut T, b: @mut T) -> bool {
     a_ptr == b_ptr
 }
 
-#[cfg(notest)]
+#[cfg(not(test))]
 impl<T:Eq> Eq for @T {
     #[inline(always)]
     fn eq(&self, other: &@T) -> bool { *(*self) == *(*other) }
@@ -57,7 +57,7 @@ impl<T:Eq> Eq for @T {
     fn ne(&self, other: &@T) -> bool { *(*self) != *(*other) }
 }
 
-#[cfg(notest)]
+#[cfg(not(test))]
 impl<T:Eq> Eq for @mut T {
     #[inline(always)]
     fn eq(&self, other: &@mut T) -> bool { *(*self) == *(*other) }
@@ -65,7 +65,7 @@ impl<T:Eq> Eq for @mut T {
     fn ne(&self, other: &@mut T) -> bool { *(*self) != *(*other) }
 }
 
-#[cfg(notest)]
+#[cfg(not(test))]
 impl<T:Ord> Ord for @T {
     #[inline(always)]
     fn lt(&self, other: &@T) -> bool { *(*self) < *(*other) }
@@ -77,7 +77,7 @@ impl<T:Ord> Ord for @T {
     fn gt(&self, other: &@T) -> bool { *(*self) > *(*other) }
 }
 
-#[cfg(notest)]
+#[cfg(not(test))]
 impl<T:Ord> Ord for @mut T {
     #[inline(always)]
     fn lt(&self, other: &@mut T) -> bool { *(*self) < *(*other) }