Skip to content

Commit ce039df

Browse files
committed
---
yaml --- r: 13622 b: refs/heads/master c: f21fbc2 h: refs/heads/master v: v3
1 parent 164fae9 commit ce039df

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 9bdb2c9e48cefc684b6163249ca816cd96350bde
2+
refs/heads/master: f21fbc23d28eebccb903540740212c6e191d1ecc
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
55
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf

trunk/src/libsyntax/parse/comments.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ fn gather_comments_and_literals(span_diagnostic: diagnostic::span_handler,
203203
let {tok: tok, sp: sp} = rdr.next_token();
204204
if token::is_lit(tok) {
205205
let s = get_str_from(rdr, bstart);
206-
literals += [{lit: s, pos: sp.lo}];
206+
vec::push(literals, {lit: s, pos: sp.lo});
207207
log(debug, "tok lit: " + s);
208208
} else {
209209
log(debug, "tok: " + token::to_str(*rdr.interner, tok));

0 commit comments

Comments
 (0)