diff options
Diffstat (limited to 'src/libcore/char.rs')
| -rw-r--r-- | src/libcore/char.rs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/libcore/char.rs b/src/libcore/char.rs index 0a775ca1ac3..f1c67785aa0 100644 --- a/src/libcore/char.rs +++ b/src/libcore/char.rs @@ -181,15 +181,7 @@ pub pure fn cmp(a: char, b: char) -> int { } impl char : Eq { - #[cfg(stage0)] - pure fn eq(other: &char) -> bool { self == (*other) } - #[cfg(stage1)] - #[cfg(stage2)] pure fn eq(&self, other: &char) -> bool { (*self) == (*other) } - #[cfg(stage0)] - pure fn ne(other: &char) -> bool { self != (*other) } - #[cfg(stage1)] - #[cfg(stage2)] pure fn ne(&self, other: &char) -> bool { (*self) != (*other) } } |
