Skip to content

Commit

Permalink
rustc: fix a pp bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
graydon committed Jul 31, 2013
1 parent c29e9fb commit e5b0f1d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libsyntax/print/pprust.rs
Expand Up @@ -1231,6 +1231,7 @@ pub fn print_expr(s: @ps, expr: &ast::expr) {
ast::expr_for_loop(pat, iter, ref blk) => {
head(s, "foreach");
print_pat(s, pat);
space(s.s);
word_space(s, "in");
print_expr(s, iter);
space(s.s);
Expand Down

0 comments on commit e5b0f1d

Please sign in to comment.