Skip to content

Commit e642590

Browse files
committed
---
yaml --- r: 10642 b: refs/heads/snap-stage3 c: f21fbc2 h: refs/heads/master v: v3
1 parent a591060 commit e642590

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,6 +1,6 @@
11
---
22
refs/heads/master: 2898dcc5d97da9427ac367542382b6239d9c0bbf
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 9bdb2c9e48cefc684b6163249ca816cd96350bde
4+
refs/heads/snap-stage3: f21fbc23d28eebccb903540740212c6e191d1ecc
55
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105

branches/snap-stage3/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)