]> git.proxmox.com Git - cargo.git/commitdiff
Up to date with master
authorYehuda Katz <wycats@gmail.com>
Thu, 29 May 2014 21:06:43 +0000 (14:06 -0700)
committerYehuda Katz <wycats@gmail.com>
Thu, 29 May 2014 21:06:43 +0000 (14:06 -0700)
libs/hamcrest-rust
tests/test_cargo_compile.rs

index 16b761d4372b4e91af06848781c8e998c3f25116..822fc16016ccd5d24ba460d141e8f2d17db883a0 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 16b761d4372b4e91af06848781c8e998c3f25116
+Subproject commit 822fc16016ccd5d24ba460d141e8f2d17db883a0
index be1dc7e0baaac08bc3c5004674f04891df34f002..d8cb6c331ef132520475ad6d2eb37d2d80cea926 100644 (file)
@@ -192,7 +192,7 @@ test!(cargo_compile_with_nested_deps {
         "#)
         .file("baz/src/baz.rs", r#"
             pub fn gimme() -> String {
-                "test passed".to_owned()
+                "test passed".to_str()
             }
         "#);
 
@@ -218,7 +218,7 @@ fn main_file(println: &str, deps: &[&str]) -> String {
     buf.push_str(println);
     buf.push_str("); }\n");
 
-    buf.to_owned()
+    buf.to_str()
 }
 
 // test!(compiling_project_with_invalid_manifest)