File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
trunk/src/libsyntax/parse Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: 9bdb2c9e48cefc684b6163249ca816cd96350bde
2
+ refs/heads/master: f21fbc23d28eebccb903540740212c6e191d1ecc
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
5
5
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf
Original file line number Diff line number Diff line change @@ -203,7 +203,7 @@ fn gather_comments_and_literals(span_diagnostic: diagnostic::span_handler,
203
203
let { tok: tok , sp: sp} = rdr. next_token ( ) ;
204
204
if token:: is_lit ( tok) {
205
205
let s = get_str_from ( rdr, bstart) ;
206
- literals += [ { lit: s, pos: sp. lo } ] ;
206
+ vec :: push ( literals, { lit: s, pos: sp. lo } ) ;
207
207
log ( debug, "tok lit: " + s) ;
208
208
} else {
209
209
log ( debug, "tok: " + token:: to_str ( * rdr. interner , tok) ) ;
You can’t perform that action at this time.
0 commit comments