about summary refs log tree commit diff
path: root/src/libregex/test
diff options
context:
space:
mode:
authorRicho Healey <richo@psych0tik.net>2014-05-25 03:17:19 -0700
committerRicho Healey <richo@psych0tik.net>2014-05-27 12:59:31 -0700
commit1f1b2e42d76ba1cd884adc49922636a6c2ac1b2f (patch)
tree2a56d5ceda84c1a58796fe0fc4e7cea38a9336f6 /src/libregex/test
parent4348e23b269739657d934b532ad061bfd6d92309 (diff)
std: Rename strbuf operations to string
[breaking-change]
Diffstat (limited to 'src/libregex/test')
-rw-r--r--src/libregex/test/bench.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libregex/test/bench.rs b/src/libregex/test/bench.rs
index 5bbb37c2490..8dc6484a136 100644
--- a/src/libregex/test/bench.rs
+++ b/src/libregex/test/bench.rs
@@ -161,7 +161,7 @@ fn gen_text(n: uint) -> String {
             *b = '\n' as u8
         }
     }
-    str::from_utf8(bytes.as_slice()).unwrap().to_strbuf()
+    str::from_utf8(bytes.as_slice()).unwrap().to_string()
 }
 
 throughput!(easy0_32, easy0(), 32)