about summary refs log tree commit diff
path: root/src/comp
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2012-02-11 17:14:29 -0800
committerNiko Matsakis <niko@alum.mit.edu>2012-02-13 06:50:58 -0800
commita7641e99e8e6830e4242cfe441a867eb6e955694 (patch)
treed8d39bd697aee18f2b662a81d4e4868a6dcf3e8f /src/comp
parentbcbe36b33b7d310d64abeb76231cd3bd8b5cd584 (diff)
remove leading ::, new tests
Diffstat (limited to 'src/comp')
-rw-r--r--src/comp/middle/ast_map.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comp/middle/ast_map.rs b/src/comp/middle/ast_map.rs
index 01ad8a3df67..1504f5f738e 100644
--- a/src/comp/middle/ast_map.rs
+++ b/src/comp/middle/ast_map.rs
@@ -17,7 +17,7 @@ fn path_to_str_with_sep(p: path, sep: str) -> str {
 }
 
 fn path_to_str(p: path) -> str {
-    "::" + path_to_str_with_sep(p, "::")
+    path_to_str_with_sep(p, "::")
 }
 
 enum ast_node {