diff --git a/libs/hamcrest-rust b/libs/hamcrest-rust
index add50d98e..de700414a 160000
--- a/libs/hamcrest-rust
+++ b/libs/hamcrest-rust
@@ -1 +1 @@
-Subproject commit add50d98e97ef30e7264ae70b83cf5ddedbf4450
+Subproject commit de700414aab1aaa4461618ce7a516cb24a8e6665
diff --git a/libs/rust-toml b/libs/rust-toml
index 1702321fb..e248cfbd6 160000
--- a/libs/rust-toml
+++ b/libs/rust-toml
@@ -1 +1 @@
-Subproject commit 1702321fb1300aaf4182f4ba48d31f8eaf0a5a69
+Subproject commit e248cfbd6e336c3ea1a7273bea66e2fd3e3591f6
diff --git a/src/bin/cargo.rs b/src/bin/cargo.rs
index 36c620cc7..08b366b89 100644
--- a/src/bin/cargo.rs
+++ b/src/bin/cargo.rs
@@ -31,14 +31,14 @@ fn execute() {
Err(err) => return handle_error(err)
};
- if cmd == ~"config-for-key" { execute_main_without_stdin(config_for_key) }
- else if cmd == ~"config-list" { execute_main_without_stdin(config_list) }
- else if cmd == ~"locate-project" { execute_main_without_stdin(locate_project) }
+ if cmd == "config-for-key".to_owned() { execute_main_without_stdin(config_for_key) }
+ else if cmd == "config-list".to_owned() { execute_main_without_stdin(config_list) }
+ else if cmd == "locate-project".to_owned() { execute_main_without_stdin(locate_project) }
}
fn process(mut args: ~[~str]) -> CargoResult<(~str, ~[~str])> {
args = args.tail().to_owned();
- let head = try!(args.head().to_cargo_error(~"No subcommand found", 1)).to_owned();
+ let head = try!(args.head().to_cargo_error("No subcommand found".to_owned(), 1)).to_owned();
let tail = args.tail().to_owned();
Ok((head, tail))
@@ -99,7 +99,7 @@ fn config_list(args: ConfigListFlags) -> CargoResult