diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-12-09 17:59:21 -0800 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-12-09 17:59:21 -0800 |
| commit | 9723d3ac2ff5b008d207012ec5d37b2c69f402ed (patch) | |
| tree | 35ad1b902932e98a5fd959f0615f79acc60589bb /src/libcore/dvec.rs | |
| parent | 55a3a5fcc973663af3694f32be7a4df10a1a2cd1 (diff) | |
| download | rust-9723d3ac2ff5b008d207012ec5d37b2c69f402ed.tar.gz rust-9723d3ac2ff5b008d207012ec5d37b2c69f402ed.zip | |
Remove transitional code
Diffstat (limited to 'src/libcore/dvec.rs')
| -rw-r--r-- | src/libcore/dvec.rs | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/libcore/dvec.rs b/src/libcore/dvec.rs index b3da5f1e98b..874a36eb9f0 100644 --- a/src/libcore/dvec.rs +++ b/src/libcore/dvec.rs @@ -358,15 +358,6 @@ impl<A: Copy> DVec<A> { } } -#[cfg(stage0)] -impl<A:Copy> DVec<A>: Index<uint,A> { - #[inline(always)] - pure fn index(idx: uint) -> A { - self.get_elt(idx) - } -} -#[cfg(stage1)] -#[cfg(stage2)] impl<A:Copy> DVec<A>: Index<uint,A> { #[inline(always)] pure fn index(&self, idx: uint) -> A { |
