Register snapshots
This commit is contained in:
parent
be6613e048
commit
8179e268ef
78 changed files with 475 additions and 5514 deletions
|
|
@ -3747,19 +3747,9 @@ impl Parser {
|
|||
}
|
||||
|
||||
impl restriction : cmp::Eq {
|
||||
#[cfg(stage0)]
|
||||
pure fn eq(other: &restriction) -> bool {
|
||||
(self as uint) == ((*other) as uint)
|
||||
}
|
||||
#[cfg(stage1)]
|
||||
#[cfg(stage2)]
|
||||
pure fn eq(&self, other: &restriction) -> bool {
|
||||
((*self) as uint) == ((*other) as uint)
|
||||
}
|
||||
#[cfg(stage0)]
|
||||
pure fn ne(other: &restriction) -> bool { !self.eq(other) }
|
||||
#[cfg(stage1)]
|
||||
#[cfg(stage2)]
|
||||
pure fn ne(&self, other: &restriction) -> bool { !(*self).eq(other) }
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue