提交 8911aef7 编写于 作者: M Marijn Haverbeke

Make return-by-ref function headers pretty-print safely

Closes #972
上级 1e988f22
......@@ -1149,7 +1149,7 @@ fn print_arg(s: ps, x: ast::arg) {
ast::return_ref(mut, arg) {
word(s.s, mut ? "&!" : "&");
if vec::len(decl.inputs) > 1u {
word(s.s, std::uint::str(arg));
word_space(s, std::uint::str(arg));
}
}
_ {}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册