Skip to content

Commit ba3ec2d

Browse files
committed
---
yaml --- r: 52449 b: refs/heads/dist-snap c: 83ddb55 h: refs/heads/master i: 52447: 305f507 v: v3
1 parent 737dc36 commit ba3ec2d

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
99
refs/heads/incoming: 44d4d6de762f3f9aae1fedcf454c66b79b3ad58d
10-
refs/heads/dist-snap: a7eaa1f5e42b01e3f69b0851178e7a2f253f5ca9
10+
refs/heads/dist-snap: 83ddb55e8fbb757cf26513483171102868610a84
1111
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1212
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
1313
refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0

branches/dist-snap/src/libsyntax/print/pprust.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1716,7 +1716,7 @@ fn print_fn_args(s: ps, decl: ast::fn_decl,
17161716
// It is unfortunate to duplicate the commasep logic, but we
17171717
// we want the self type, the args, and the capture clauses all
17181718
// in the same box.
1719-
box(s, 0u, inconsistent);
1719+
box(s, 0, inconsistent);
17201720
let mut first = true;
17211721
for opt_self_ty.each |self_ty| {
17221722
first = !print_self_ty(s, *self_ty);
@@ -1913,6 +1913,9 @@ fn print_mt(s: ps, mt: ast::mt) {
19131913
fn print_arg(s: ps, input: ast::arg) {
19141914
ibox(s, indent_unit);
19151915
print_arg_mode(s, input.mode);
1916+
if input.is_mutbl {
1917+
word_space(s, ~"mut");
1918+
}
19161919
match input.ty.node {
19171920
ast::ty_infer => print_irrefutable_pat(s, input.pat),
19181921
_ => {

0 commit comments

Comments
 (0)