about summary refs log tree commit diff
path: root/src/librustc/metadata
diff options
context:
space:
mode:
authorMarvin Löbel <loebel.marvin@gmail.com>2015-02-19 14:36:58 +0100
committerMarvin Löbel <loebel.marvin@gmail.com>2015-02-20 00:58:15 +0100
commitc8dd2d066d7b25246d2b940b7c161b8b67608b74 (patch)
tree7b6c4fecc16df3ccfc388d16b46011be49a864ba /src/librustc/metadata
parenta641996796f0ab11021671c0ce70a3c975bb4e37 (diff)
downloadrust-c8dd2d066d7b25246d2b940b7c161b8b67608b74.tar.gz
rust-c8dd2d066d7b25246d2b940b7c161b8b67608b74.zip
Addressed PR comments
Diffstat (limited to 'src/librustc/metadata')
-rw-r--r--src/librustc/metadata/filesearch.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/metadata/filesearch.rs b/src/librustc/metadata/filesearch.rs
index 3caa0f5b4db..d63b3dd60d0 100644
--- a/src/librustc/metadata/filesearch.rs
+++ b/src/librustc/metadata/filesearch.rs
@@ -219,7 +219,7 @@ pub fn rust_path() -> Vec<Path> {
     let mut env_rust_path: Vec<Path> = match get_rust_path() {
         Some(env_path) => {
             let env_path_components =
-                env_path.split_str(PATH_ENTRY_SEPARATOR);
+                env_path.split(PATH_ENTRY_SEPARATOR);
             env_path_components.map(|s| Path::new(s)).collect()
         }
         None => Vec::new()