]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/option-ext.rs
Replace all ~"" with "".to_owned()
[rust.git] / src / test / run-pass / option-ext.rs
index 36a15373703edd10ed50fafdf4fee7210fd277b0..967ca621948a2edd240dcdfe3f207fa09a3b92a5 100644 (file)
@@ -9,7 +9,7 @@
 // except according to those terms.
 
 pub fn main() {
-    let thing = ~"{{ f }}";
+    let thing = "{{ f }}".to_owned();
     let f = thing.find_str("{{");
 
     if f.is_none() {