about summary refs log tree commit diff
path: root/src/libcollections/bitv.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-07-10 03:21:30 +0000
committerbors <bors@rust-lang.org>2014-07-10 03:21:30 +0000
commit898701cb35833b2ecea8bc7f3902a35b7eccc219 (patch)
tree76384e124ead2910a08b688c43b26f05ee68e437 /src/libcollections/bitv.rs
parent18520699f0c40d347fe1bde00d4f1c822f1bb28d (diff)
parent0c71e0c5967c4650c617dfc5cc11152b0e08370c (diff)
downloadrust-898701cb35833b2ecea8bc7f3902a35b7eccc219.tar.gz
rust-898701cb35833b2ecea8bc7f3902a35b7eccc219.zip
auto merge of #15556 : alexcrichton/rust/snapshots, r=brson
Closes #15544
Diffstat (limited to 'src/libcollections/bitv.rs')
-rw-r--r--src/libcollections/bitv.rs7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/libcollections/bitv.rs b/src/libcollections/bitv.rs
index 23be65cc4e2..226da13f9e2 100644
--- a/src/libcollections/bitv.rs
+++ b/src/libcollections/bitv.rs
@@ -16,6 +16,7 @@ use core::cmp;
 use core::default::Default;
 use core::fmt;
 use core::iter::Take;
+use core::ops::Index;
 use core::slice;
 use core::uint;
 use std::hash;
@@ -23,13 +24,8 @@ use std::hash;
 use {Collection, Mutable, Set, MutableSet};
 use vec::Vec;
 
-#[cfg(not(stage0))]
-use core::ops::Index;
 
-#[cfg(not(stage0))]
 static TRUE: bool = true;
-
-#[cfg(not(stage0))]
 static FALSE: bool = false;
 
 #[deriving(Clone)]
@@ -80,7 +76,6 @@ pub struct Bitv {
     nbits: uint
 }
 
-#[cfg(not(stage0))]
 impl Index<uint,bool> for Bitv {
     #[inline]
     fn index<'a>(&'a self, i: &uint) -> &'a bool {