]> git.lizzy.rs Git - rust.git/blobdiff - src/test/auxiliary/crate-method-reexport-grrrrrrr2.rs
test: Remove all uses of `~str` from the test suite.
[rust.git] / src / test / auxiliary / crate-method-reexport-grrrrrrr2.rs
index f7b42e05d7f8daeb071dd0951288cdc294141d4a..36e46f6c8c2863bd6fb78d236d82e840ef9a2c0d 100644 (file)
@@ -17,11 +17,11 @@ pub mod name_pool {
     pub type name_pool = ();
 
     pub trait add {
-        fn add(&self, s: ~str);
+        fn add(&self, s: StrBuf);
     }
 
     impl add for name_pool {
-        fn add(&self, _s: ~str) {
+        fn add(&self, _s: StrBuf) {
         }
     }
 }