diff options
Diffstat (limited to 'src/libstd/fmt/parse.rs')
| -rw-r--r-- | src/libstd/fmt/parse.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libstd/fmt/parse.rs b/src/libstd/fmt/parse.rs index 245318c4699..fd0e86d7a31 100644 --- a/src/libstd/fmt/parse.rs +++ b/src/libstd/fmt/parse.rs @@ -12,7 +12,6 @@ use prelude::*; use char; use str; -use iterator; condition! { pub parse_error: ~str -> (); } @@ -152,7 +151,7 @@ pub struct Parser<'self> { priv depth: uint, } -impl<'self> iterator::Iterator<Piece<'self>> for Parser<'self> { +impl<'self> Iterator<Piece<'self>> for Parser<'self> { fn next(&mut self) -> Option<Piece<'self>> { match self.cur.clone().next() { Some((_, '#')) => { self.cur.next(); Some(CurrentArgument) } |
