From 8179e268efd86ae5c1bcf21b4f8d4e01eea7c193 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Wed, 28 Nov 2012 12:33:00 -0800 Subject: Register snapshots --- src/libcore/bool.rs | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/libcore/bool.rs') diff --git a/src/libcore/bool.rs b/src/libcore/bool.rs index 60aa3d48fb3..644cc90ccf6 100644 --- a/src/libcore/bool.rs +++ b/src/libcore/bool.rs @@ -66,15 +66,7 @@ pub fn all_values(blk: fn(v: bool)) { pub pure fn to_bit(v: bool) -> u8 { if v { 1u8 } else { 0u8 } } impl bool : cmp::Eq { - #[cfg(stage0)] - pure fn eq(other: &bool) -> bool { self == (*other) } - #[cfg(stage1)] - #[cfg(stage2)] pure fn eq(&self, other: &bool) -> bool { (*self) == (*other) } - #[cfg(stage0)] - pure fn ne(other: &bool) -> bool { self != (*other) } - #[cfg(stage1)] - #[cfg(stage2)] pure fn ne(&self, other: &bool) -> bool { (*self) != (*other) } } -- cgit 1.4.1-3-g733a5