diff options
| author | bors <bors@rust-lang.org> | 2013-06-24 23:14:01 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-06-24 23:14:01 -0700 |
| commit | 5a089c252e1645c1b321c8b6811f89ae3fea4bd2 (patch) | |
| tree | 3d937cd8d79e363e42d41468b65fb3b74140ebfb /src/libstd/vec.rs | |
| parent | 237ca7dc58fcc2b856c53bc1e4ab0ed060314a72 (diff) | |
| parent | 122f25dd5e1dae124bdc8d3beeac55474d7a8ce5 (diff) | |
| download | rust-5a089c252e1645c1b321c8b6811f89ae3fea4bd2.tar.gz rust-5a089c252e1645c1b321c8b6811f89ae3fea4bd2.zip | |
auto merge of #7370 : Aatch/rust/snapshot, r=huonw
I also cleaned up the warnings.
Diffstat (limited to 'src/libstd/vec.rs')
| -rw-r--r-- | src/libstd/vec.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libstd/vec.rs b/src/libstd/vec.rs index 7b7a3020b93..e39dd262cd9 100644 --- a/src/libstd/vec.rs +++ b/src/libstd/vec.rs @@ -2446,7 +2446,6 @@ macro_rules! iterator { } #[inline] - #[cfg(not(stage0))] fn size_hint(&self) -> (Option<uint>, Option<uint>) { let exact = Some(((self.end as uint) - (self.ptr as uint)) / size_of::<$elem>()); (exact, exact) @@ -3929,7 +3928,6 @@ mod tests { } #[test] - #[cfg(not(stage0))] fn test_iterator() { use iterator::*; let xs = [1, 2, 5, 10, 11]; |
