From 6510f1ce7cb026ceb98689583c13f18c1e7c2c12 Mon Sep 17 00:00:00 2001 From: Marijn Haverbeke Date: Thu, 12 May 2011 17:20:07 +0200 Subject: Change module dereference syntax from . to :: This will need to be a snapshot. --- src/comp/pretty/pprust.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/comp/pretty') diff --git a/src/comp/pretty/pprust.rs b/src/comp/pretty/pprust.rs index d380f0b7..071e076c 100644 --- a/src/comp/pretty/pprust.rs +++ b/src/comp/pretty/pprust.rs @@ -751,7 +751,7 @@ fn print_path(ps s, ast.path path) { auto first = true; for (str id in path.node.idents) { if (first) {first = false;} - else {wrd(s.s, ".");} + else {wrd(s.s, "::");} wrd(s.s, id); } if (Vec.len[@ast.ty](path.node.types) > 0u) { @@ -856,7 +856,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); } } -- cgit v1.2.3