]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/class-attributes-2.rs
Replace all ~"" with "".to_owned()
[rust.git] / src / test / run-pass / class-attributes-2.rs
index c4dc0ac7412fd831d687ec0e72b053c57b8be885..d506fa6eb331647922d958a5509b5ae5ebfc8304 100644 (file)
@@ -33,5 +33,5 @@ fn cat(name: ~str) -> cat {
 }
 
 pub fn main() {
-  let _kitty = cat(~"Spotty");
+  let _kitty = cat("Spotty".to_owned());
 }