File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: 9d36a2d59322b236e6a4b47c23a323f87e5d82b2
2
+ refs/heads/master: 17cf5e8104691cc6c15e4ea2e284c52a7b6760da
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: c89417130f042c58adc60012e7cddc4ef70b70b9
5
5
refs/heads/try: 5204084bd2e46af7cc6e0147430e44dd0d657bbb
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