diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-09-23 22:25:43 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-09-23 23:01:49 -0700 |
| commit | afd91f8a5698e7767ddfbf90c665c08dcd4f0de0 (patch) | |
| tree | 3bc5d52fd888c010ea797f6570c92abe861c183a /src/libcore/bool.rs | |
| parent | 2dae768624de87bcec1160bd29c27af1affe7f5f (diff) | |
| download | rust-afd91f8a5698e7767ddfbf90c665c08dcd4f0de0.tar.gz rust-afd91f8a5698e7767ddfbf90c665c08dcd4f0de0.zip | |
Register snapshots. Remove redundant Eq impls, Makefile hacks
Diffstat (limited to 'src/libcore/bool.rs')
| -rw-r--r-- | src/libcore/bool.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/libcore/bool.rs b/src/libcore/bool.rs index a80519e82ee..1419aac6369 100644 --- a/src/libcore/bool.rs +++ b/src/libcore/bool.rs @@ -69,13 +69,6 @@ fn all_values(blk: fn(v: bool)) { /// converts truth value to an 8 bit byte pure fn to_bit(v: bool) -> u8 { if v { 1u8 } else { 0u8 } } -#[cfg(stage0)] -impl bool : cmp::Eq { - pure fn eq(&&other: bool) -> bool { self == other } - pure fn ne(&&other: bool) -> bool { self != other } -} -#[cfg(stage1)] -#[cfg(stage2)] impl bool : cmp::Eq { pure fn eq(other: &bool) -> bool { self == (*other) } pure fn ne(other: &bool) -> bool { self != (*other) } |
