about summary refs log tree commit diff
path: root/src/libsyntax/opt_vec.rs
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2013-05-19 19:46:54 -0700
committerBrian Anderson <banderson@mozilla.com>2013-05-19 23:34:32 -0700
commit66319b027888ceddf024a5919e007caceaf369f3 (patch)
treed210e635c950974972a086f7caa4268be6f33c93 /src/libsyntax/opt_vec.rs
parent3a481c0f88025318eba7c48907a5c1d966e01d27 (diff)
downloadrust-66319b027888ceddf024a5919e007caceaf369f3.tar.gz
rust-66319b027888ceddf024a5919e007caceaf369f3.zip
Register snapshots
Diffstat (limited to 'src/libsyntax/opt_vec.rs')
-rw-r--r--src/libsyntax/opt_vec.rs14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/libsyntax/opt_vec.rs b/src/libsyntax/opt_vec.rs
index fb3622396c9..db1e95d5ad5 100644
--- a/src/libsyntax/opt_vec.rs
+++ b/src/libsyntax/opt_vec.rs
@@ -131,14 +131,6 @@ impl<A:Eq> Eq for OptVec<A> {
 }
 
 impl<A> BaseIter<A> for OptVec<A> {
-    #[cfg(stage0)]
-    fn each(&self, blk: &fn(v: &A) -> bool) {
-        match *self {
-            Empty => {}
-            Vec(ref v) => v.each(blk)
-        }
-    }
-    #[cfg(not(stage0))]
     fn each(&self, blk: &fn(v: &A) -> bool) -> bool {
         match *self {
             Empty => true,
@@ -153,12 +145,6 @@ impl<A> BaseIter<A> for OptVec<A> {
 
 impl<A> old_iter::ExtendedIter<A> for OptVec<A> {
     #[inline(always)]
-    #[cfg(stage0)]
-    fn eachi(&self, blk: &fn(v: uint, v: &A) -> bool) {
-        old_iter::eachi(self, blk)
-    }
-    #[inline(always)]
-    #[cfg(not(stage0))]
     fn eachi(&self, blk: &fn(v: uint, v: &A) -> bool) -> bool {
         old_iter::eachi(self, blk)
     }