1
Fork 0

Register snapshots. Remove redundant Eq impls, Makefile hacks

This commit is contained in:
Brian Anderson 2012-09-23 22:25:43 -07:00
parent 2dae768624
commit afd91f8a56
76 changed files with 8 additions and 3677 deletions

View file

@ -3657,15 +3657,6 @@ impl parser {
}
}
#[cfg(stage0)]
impl restriction : cmp::Eq {
pure fn eq(&&other: restriction) -> bool {
(self as uint) == (other as uint)
}
pure fn ne(&&other: restriction) -> bool { !self.eq(other) }
}
#[cfg(stage1)]
#[cfg(stage2)]
impl restriction : cmp::Eq {
pure fn eq(other: &restriction) -> bool {
(self as uint) == ((*other) as uint)