Skip to content

Commit 4183c13

Browse files
committed
---
yaml --- r: 3516 b: refs/heads/master c: 0eb257e h: refs/heads/master v: v3
1 parent ae17593 commit 4183c13

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 6d441d32381037401642a204ddb8eccc71f4e4c5
2+
refs/heads/master: 0eb257e864a36a459110a1d27f6447a770d855a7

trunk/src/comp/pretty/pprust.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -825,7 +825,7 @@ fn print_expr(&ps s, &@ast::expr expr) {
825825
case (ast::expr_fail(?str)) {
826826
word(s.s, "fail");
827827
alt (str) {
828-
case (some(?msg)) { word(s.s, #fmt("\"%s\"", msg)); }
828+
case (some(?msg)) { word(s.s, #fmt(" \"%s\"", msg)); }
829829
case (_) { }
830830
}
831831
}
@@ -887,7 +887,7 @@ fn print_expr(&ps s, &@ast::expr expr) {
887887

888888
}
889889
case (ast::expr_port(?ot)) {
890-
word(s.s, "port");
890+
word(s.s, "port");
891891
alt(ot) {
892892
case(some(?t)) {
893893
word(s.s, "[");
@@ -896,7 +896,7 @@ fn print_expr(&ps s, &@ast::expr expr) {
896896
}
897897
case(none) {}
898898
}
899-
popen(s); pclose(s);
899+
popen(s); pclose(s);
900900
}
901901
case (ast::expr_chan(?expr)) {
902902
word(s.s, "chan");
@@ -1230,7 +1230,7 @@ fn maybe_print_trailing_comment(&ps s, common::span span,
12301230
auto next = cmnt.pos + 1u;
12311231
alt (next_pos) { case (none) { } case (some(?p)) { next = p; } }
12321232
if (span.hi < cmnt.pos && cmnt.pos < next &&
1233-
span_line.line == comment_line.line) {
1233+
span_line.line == comment_line.line) {
12341234
print_comment(s, cmnt);
12351235
s.cur_cmnt += 1u;
12361236
}

0 commit comments

Comments
 (0)