about summary refs log tree commit diff
path: root/src/libsyntax/ast_util.rs
diff options
context:
space:
mode:
authorHuon Wilson <dbau.pp+github@gmail.com>2013-06-10 23:25:25 +1000
committerHuon Wilson <dbau.pp+github@gmail.com>2013-06-10 23:57:03 +1000
commitccd0ac59e9a918f3c2a174e31213286dc6867d37 (patch)
tree613e9e26394be216bfb2dc56dba0391ca6486545 /src/libsyntax/ast_util.rs
parent5a711ea7c317ea90f03d5118dbb2e19e1622bc29 (diff)
downloadrust-ccd0ac59e9a918f3c2a174e31213286dc6867d37.tar.gz
rust-ccd0ac59e9a918f3c2a174e31213286dc6867d37.zip
std: remove str::{connect,concat}*.
Diffstat (limited to 'src/libsyntax/ast_util.rs')
-rw-r--r--src/libsyntax/ast_util.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/ast_util.rs b/src/libsyntax/ast_util.rs
index b040397de72..db7c29edab0 100644
--- a/src/libsyntax/ast_util.rs
+++ b/src/libsyntax/ast_util.rs
@@ -28,7 +28,7 @@ use core::to_bytes;
 
 pub fn path_name_i(idents: &[ident]) -> ~str {
     // FIXME: Bad copies (#2543 -- same for everything else that says "bad")
-    str::connect(idents.map(|i| copy *token::interner_get(i.name)), "::")
+    idents.map(|i| copy *token::interner_get(i.name)).connect("::")
 }
 
 pub fn path_to_ident(p: @Path) -> ident { copy *p.idents.last() }