提交 c5687e1b 编写于 作者: B Brian Anderson

syntax: Pretty-print view item attributes

上级 6bdd4988
......@@ -1430,6 +1430,7 @@ fn print_view_paths(s: ps, vps: ~[@ast::view_path]) {
fn print_view_item(s: ps, item: @ast::view_item) {
hardbreak_if_not_bol(s);
maybe_print_comment(s, item.span.lo);
print_outer_attributes(s, item.attrs);
alt item.node {
ast::view_item_use(id, mta, _) {
head(s, "use");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册