Skip to content

Commit 9642fd5

Browse files
author
Jorge Aparicio
committed
---
yaml --- r: 171701 b: refs/heads/beta c: 17cf5e8 h: refs/heads/master i: 171699: 872553d v: v3
1 parent dc55f37 commit 9642fd5

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
@@ -31,5 +31,5 @@ refs/heads/automation-fail: 1bf06495443584539b958873e04cc2f864ab10e4
3131
refs/heads/issue-18208-method-dispatch-3-quick-reject: 2009f85b9f99dedcec4404418eda9ddba90258a2
3232
refs/heads/batch: b5571ed71a5879c0495a982506258d5d267744ed
3333
refs/heads/building: 126db549b038c84269a1e4fe46f051b2c15d6970
34-
refs/heads/beta: 9d36a2d59322b236e6a4b47c23a323f87e5d82b2
34+
refs/heads/beta: 17cf5e8104691cc6c15e4ea2e284c52a7b6760da
3535
refs/heads/windistfix: 7608dbad651f02e837ed05eef3d74a6662a6e928

branches/beta/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)