Remove transitional code

This commit is contained in:
Brian Anderson 2012-12-09 17:59:21 -08:00
parent 55a3a5fcc9
commit 9723d3ac2f
12 changed files with 0 additions and 253 deletions

View file

@ -59,15 +59,6 @@ impl BytePos: cmp::Ord {
pure fn gt(&self, other: &BytePos) -> bool { **self > **other }
}
#[cfg(stage0)]
impl BytePos: Add<BytePos, BytePos> {
pure fn add(rhs: &BytePos) -> BytePos {
BytePos(*self + **rhs)
}
}
#[cfg(stage1)]
#[cfg(stage2)]
impl BytePos: Add<BytePos, BytePos> {
pure fn add(&self, rhs: &BytePos) -> BytePos {
BytePos(**self + **rhs)
@ -109,15 +100,6 @@ impl CharPos: to_bytes::IterBytes {
}
}
#[cfg(stage0)]
impl CharPos: Add<CharPos, CharPos> {
pure fn add(rhs: &CharPos) -> CharPos {
CharPos(*self + **rhs)
}
}
#[cfg(stage1)]
#[cfg(stage2)]
impl CharPos: Add<CharPos, CharPos> {
pure fn add(&self, rhs: &CharPos) -> CharPos {
CharPos(**self + **rhs)