Skip to content

Commit dfc788c

Browse files
author
Jorge Aparicio
committed
---
yaml --- r: 168727 b: refs/heads/snap-stage3 c: 17cf5e8 h: refs/heads/master i: 168725: f91ddf8 168723: 817efe8 168719: 112d15b v: v3
1 parent 3404047 commit dfc788c

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,7 +1,7 @@
11
---
22
refs/heads/master: 5e21e17d9638d14af41e27e5ca9a21c8a1bc0170
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 9d36a2d59322b236e6a4b47c23a323f87e5d82b2
4+
refs/heads/snap-stage3: 17cf5e8104691cc6c15e4ea2e284c52a7b6760da
55
refs/heads/try: 5204084bd2e46af7cc6e0147430e44dd0d657bbb
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d

branches/snap-stage3/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)