diff options
Diffstat (limited to 'src/rustdoc/config.rs')
| -rw-r--r-- | src/rustdoc/config.rs | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/rustdoc/config.rs b/src/rustdoc/config.rs index 383b002110a..b95e1657043 100644 --- a/src/rustdoc/config.rs +++ b/src/rustdoc/config.rs @@ -18,15 +18,6 @@ enum OutputFormat { PandocHtml } -#[cfg(stage0)] -impl OutputFormat : cmp::Eq { - pure fn eq(&&other: OutputFormat) -> bool { - (self as uint) == (other as uint) - } - pure fn ne(&&other: OutputFormat) -> bool { !self.eq(other) } -} -#[cfg(stage1)] -#[cfg(stage2)] impl OutputFormat : cmp::Eq { pure fn eq(other: &OutputFormat) -> bool { (self as uint) == ((*other) as uint) @@ -42,15 +33,6 @@ enum OutputStyle { DocPerMod } -#[cfg(stage0)] -impl OutputStyle : cmp::Eq { - pure fn eq(&&other: OutputStyle) -> bool { - (self as uint) == (other as uint) - } - pure fn ne(&&other: OutputStyle) -> bool { !self.eq(other) } -} -#[cfg(stage1)] -#[cfg(stage2)] impl OutputStyle : cmp::Eq { pure fn eq(other: &OutputStyle) -> bool { (self as uint) == ((*other) as uint) |
