diff options
Diffstat (limited to 'src/libcore/str.rs')
| -rw-r--r-- | src/libcore/str.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/str.rs b/src/libcore/str.rs index de5b34ff0ca..204ffae6cbd 100644 --- a/src/libcore/str.rs +++ b/src/libcore/str.rs @@ -336,7 +336,7 @@ impl<'a> DoubleEndedIterator<(uint, char)> for CharIndices<'a> { #[stable] #[deriving(Clone)] pub struct Bytes<'a> { - inner: Map<&'a u8, u8, slice::Items<'a, u8>, BytesFn>, + inner: Map<&'a u8, u8, slice::Iter<'a, u8>, BytesFn>, } /// A temporary new type wrapper that ensures that the `Bytes` iterator |
