Skip to content

Commit 5d1cd6d

Browse files
author
Jorge Aparicio
committed
---
yaml --- r: 168640 b: refs/heads/batch c: 17cf5e8 h: refs/heads/master v: v3
1 parent 027518c commit 5d1cd6d

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
@@ -29,5 +29,5 @@ refs/tags/0.12.0: f0c419429ef30723ceaf6b42f9b5a2aeb5d2e2d1
2929
refs/heads/issue-18208-method-dispatch-2: 9e1eae4fb9b6527315b4441cf8a0f5ca911d1671
3030
refs/heads/automation-fail: 1bf06495443584539b958873e04cc2f864ab10e4
3131
refs/heads/issue-18208-method-dispatch-3-quick-reject: 2009f85b9f99dedcec4404418eda9ddba90258a2
32-
refs/heads/batch: 9d36a2d59322b236e6a4b47c23a323f87e5d82b2
32+
refs/heads/batch: 17cf5e8104691cc6c15e4ea2e284c52a7b6760da
3333
refs/heads/building: 126db549b038c84269a1e4fe46f051b2c15d6970

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