mirror of https://github.com/rust-lang/rust.git
Catch ast pretty-printer up with init-tup syntax.
This commit is contained in:
parent
bb018b24f5
commit
6c9832d3ec
|
@ -1045,7 +1045,7 @@ and fmt_stmt_body (ff:Format.formatter) (s:stmt) : unit =
|
|||
|
||||
| STMT_init_tup (dst, entries) ->
|
||||
fmt_lval ff dst;
|
||||
fmt ff " = (";
|
||||
fmt ff " = tup(";
|
||||
for i = 0 to (Array.length entries) - 1
|
||||
do
|
||||
if i != 0
|
||||
|
|
Loading…
Reference in New Issue