about summary refs log tree commit diff
path: root/src/comp
diff options
context:
space:
mode:
authorGraydon Hoare <graydon@mozilla.com>2011-05-25 21:52:21 -0700
committerGraydon Hoare <graydon@mozilla.com>2011-05-25 22:09:36 -0700
commitdc1b34288c1618aaa7d7f012cb3ec2e403336b01 (patch)
tree136f0c0cbf2ab087c36cafd773c4fcd2143cab73 /src/comp
parent29a801565a52d530d7c0c30c823d56aca0c00044 (diff)
downloadrust-dc1b34288c1618aaa7d7f012cb3ec2e403336b01.tar.gz
rust-dc1b34288c1618aaa7d7f012cb3ec2e403336b01.zip
Pretty print view items with :: rather than :.
Diffstat (limited to 'src/comp')
-rw-r--r--src/comp/pretty/pprust.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comp/pretty/pprust.rs b/src/comp/pretty/pprust.rs
index 0c2b21e0810..8fcc08f6825 100644
--- a/src/comp/pretty/pprust.rs
+++ b/src/comp/pretty/pprust.rs
@@ -904,7 +904,7 @@ fn print_view_item(ps s, @ast::view_item item) {
             auto first = true;
             for (str elt in ids) {
                 if (first) {first = false;}
-                else {wrd(s.s, ":");}
+                else {wrd(s.s, "::");}
                 wrd(s.s, elt);
             }
         }