Skip to content

Commit 016afbf

Browse files
committed
---
yaml --- r: 41901 b: refs/heads/master c: 83ddb55 h: refs/heads/master i: 41899: 846e2e7 v: v3
1 parent 69a7703 commit 016afbf

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
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: a7eaa1f5e42b01e3f69b0851178e7a2f253f5ca9
2+
refs/heads/master: 83ddb55e8fbb757cf26513483171102868610a84
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 2f46b763da2c098913884f101b6d71d69af41b49
55
refs/heads/try: 3d5418789064fdb463e872a4e651af1c628a3650

trunk/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)