Skip to content

Commit dc1b342

Browse files
committed
Pretty print view items with :: rather than :.
1 parent 29a8015 commit dc1b342

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/comp/pretty/pprust.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -904,7 +904,7 @@ fn print_view_item(ps s, @ast::view_item item) {
904904
auto first = true;
905905
for (str elt in ids) {
906906
if (first) {first = false;}
907-
else {wrd(s.s, ":");}
907+
else {wrd(s.s, "::");}
908908
wrd(s.s, elt);
909909
}
910910
}

0 commit comments

Comments
 (0)