File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
branches/beta/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 @@ -31,5 +31,5 @@ refs/heads/automation-fail: 1bf06495443584539b958873e04cc2f864ab10e4
31
31
refs/heads/issue-18208-method-dispatch-3-quick-reject: 2009f85b9f99dedcec4404418eda9ddba90258a2
32
32
refs/heads/batch: b5571ed71a5879c0495a982506258d5d267744ed
33
33
refs/heads/building: 126db549b038c84269a1e4fe46f051b2c15d6970
34
- refs/heads/beta: 9d36a2d59322b236e6a4b47c23a323f87e5d82b2
34
+ refs/heads/beta: 17cf5e8104691cc6c15e4ea2e284c52a7b6760da
35
35
refs/heads/windistfix: 7608dbad651f02e837ed05eef3d74a6662a6e928
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