Skip to content

Commit e5b0f1d

Browse files
committed
rustc: fix a pp bug.
1 parent c29e9fb commit e5b0f1d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libsyntax/print/pprust.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1231,6 +1231,7 @@ pub fn print_expr(s: @ps, expr: &ast::expr) {
12311231
ast::expr_for_loop(pat, iter, ref blk) => {
12321232
head(s, "foreach");
12331233
print_pat(s, pat);
1234+
space(s.s);
12341235
word_space(s, "in");
12351236
print_expr(s, iter);
12361237
space(s.s);

0 commit comments

Comments
 (0)