summary refs log tree commit diff
path: root/src/libstd/path.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/libstd/path.rs
parent5a711ea7c317ea90f03d5118dbb2e19e1622bc29 (diff)
downloadrust-ccd0ac59e9a918f3c2a174e31213286dc6867d37.tar.gz
rust-ccd0ac59e9a918f3c2a174e31213286dc6867d37.zip
std: remove str::{connect,concat}*.
Diffstat (limited to 'src/libstd/path.rs')
-rw-r--r--src/libstd/path.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libstd/path.rs b/src/libstd/path.rs
index 4df07830b23..d62fc8c2cba 100644
--- a/src/libstd/path.rs
+++ b/src/libstd/path.rs
@@ -22,7 +22,7 @@ use iterator::IteratorUtil;
 use libc;
 use option::{None, Option, Some};
 use str;
-use str::StrSlice;
+use str::{StrSlice, StrVector};
 use to_str::ToStr;
 use ascii::{AsciiCast, AsciiStr};
 use old_iter::BaseIter;
@@ -442,7 +442,7 @@ impl ToStr for PosixPath {
         if self.is_absolute {
             s += "/";
         }
-        s + str::connect(self.components, "/")
+        s + self.components.connect("/")
     }
 }
 
@@ -629,7 +629,7 @@ impl ToStr for WindowsPath {
         if self.is_absolute {
             s += "\\";
         }
-        s + str::connect(self.components, "\\")
+        s + self.components.connect("\\")
     }
 }