diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-12-22 12:56:18 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-12-22 15:17:26 -0800 |
| commit | 3583d613b9c81855feb067aeeebb525cf8a4184c (patch) | |
| tree | 931437f34b35af7d9f74b9fa5e335ddcfed35184 /src/libcollections | |
| parent | 8824c39945cf8cbdd0e1a07824e3d2f4823b8e7b (diff) | |
Test fixes and rebase conflicts
Diffstat (limited to 'src/libcollections')
| -rw-r--r-- | src/libcollections/bit.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libcollections/bit.rs b/src/libcollections/bit.rs index 3b9b1eb1fb3..430d7210bf6 100644 --- a/src/libcollections/bit.rs +++ b/src/libcollections/bit.rs @@ -88,14 +88,14 @@ use core::fmt; use core::iter::{Cloned, Chain, Enumerate, Repeat, Skip, Take}; use core::iter; use core::num::Int; -use core::slice::{Items, MutItems}; +use core::slice::{Iter, IterMut}; use core::{u8, u32, uint}; use core::hash; use Vec; -type Blocks<'a> = Cloned<Items<'a, u32>>; -type MutBlocks<'a> = MutItems<'a, u32>; +type Blocks<'a> = Cloned<Iter<'a, u32>>; +type MutBlocks<'a> = IterMut<'a, u32>; type MatchWords<'a> = Chain<Enumerate<Blocks<'a>>, Skip<Take<Enumerate<Repeat<u32>>>>>; fn reverse_bits(byte: u8) -> u8 { |
