]> git.lizzy.rs Git - rust.git/blobdiff - src/test/pretty/closure-reform-pretty.rs
test: Remove all uses of `~str` from the test suite.
[rust.git] / src / test / pretty / closure-reform-pretty.rs
index a9d0d1f67d5f6d9ffe7bace12f0ac984fb10c1b8..d18627c1ba1821f3f020833a2ceb2421fd90d07c 100644 (file)
@@ -13,7 +13,7 @@
 
 // pp-exact
 
-fn call_it(f: proc(~str) -> ~str) { }
+fn call_it(f: proc(StrBuf) -> StrBuf) { }
 
 fn call_this(f: |&str|: Send) { }