File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
branches/batch/src/libfmt_macros Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -29,5 +29,5 @@ refs/tags/0.12.0: f0c419429ef30723ceaf6b42f9b5a2aeb5d2e2d1
29
29
refs/heads/issue-18208-method-dispatch-2: 9e1eae4fb9b6527315b4441cf8a0f5ca911d1671
30
30
refs/heads/automation-fail: 1bf06495443584539b958873e04cc2f864ab10e4
31
31
refs/heads/issue-18208-method-dispatch-3-quick-reject: 2009f85b9f99dedcec4404418eda9ddba90258a2
32
- refs/heads/batch: 9d36a2d59322b236e6a4b47c23a323f87e5d82b2
32
+ refs/heads/batch: 17cf5e8104691cc6c15e4ea2e284c52a7b6760da
33
33
refs/heads/building: 126db549b038c84269a1e4fe46f051b2c15d6970
Original file line number Diff line number Diff line change 24
24
html_playground_url = "http://play.rust-lang.org/" ) ]
25
25
26
26
#![ feature( macro_rules, globs, slicing_syntax) ]
27
+ #![ feature( associated_types) ]
27
28
28
29
pub use self :: Piece :: * ;
29
30
pub use self :: Position :: * ;
@@ -142,7 +143,9 @@ pub struct Parser<'a> {
142
143
pub errors : Vec < string:: String > ,
143
144
}
144
145
145
- impl < ' a > Iterator < Piece < ' a > > for Parser < ' a > {
146
+ impl < ' a > Iterator for Parser < ' a > {
147
+ type Item = Piece < ' a > ;
148
+
146
149
fn next ( & mut self ) -> Option < Piece < ' a > > {
147
150
match self . cur . clone ( ) . next ( ) {
148
151
Some ( ( pos, '{' ) ) => {
You can’t perform that action at this time.
0 commit comments