Skip to content

Commit c73930e

Browse files
author
Jorge Aparicio
committed
---
yaml --- r: 167865 b: refs/heads/master c: 17cf5e8 h: refs/heads/master i: 167863: 7dc1cbe v: v3
1 parent e70b5be commit c73930e

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 9d36a2d59322b236e6a4b47c23a323f87e5d82b2
2+
refs/heads/master: 17cf5e8104691cc6c15e4ea2e284c52a7b6760da
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: c89417130f042c58adc60012e7cddc4ef70b70b9
55
refs/heads/try: 5204084bd2e46af7cc6e0147430e44dd0d657bbb

trunk/src/libfmt_macros/lib.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
html_playground_url = "http://play.rust-lang.org/")]
2525

2626
#![feature(macro_rules, globs, slicing_syntax)]
27+
#![feature(associated_types)]
2728

2829
pub use self::Piece::*;
2930
pub use self::Position::*;
@@ -142,7 +143,9 @@ pub struct Parser<'a> {
142143
pub errors: Vec<string::String>,
143144
}
144145

145-
impl<'a> Iterator<Piece<'a>> for Parser<'a> {
146+
impl<'a> Iterator for Parser<'a> {
147+
type Item = Piece<'a>;
148+
146149
fn next(&mut self) -> Option<Piece<'a>> {
147150
match self.cur.clone().next() {
148151
Some((pos, '{')) => {

0 commit comments

Comments
 (0)