about summary refs log tree commit diff
path: root/src/fuzzer
diff options
context:
space:
mode:
authorKevin Cantu <me@kevincantu.org>2012-02-01 04:20:21 -0800
committerBrian Anderson <banderson@mozilla.com>2012-02-01 21:56:53 -0800
commit8f367ebfeb4f0b897b386f5c74c4f329fb8cbd54 (patch)
tree9796d775541b468b23646f034b028225c9cbce72 /src/fuzzer
parent01c01f68afc58bc9a7a4d4b85805925d45a39ec7 (diff)
downloadrust-8f367ebfeb4f0b897b386f5c74c4f329fb8cbd54.tar.gz
rust-8f367ebfeb4f0b897b386f5c74c4f329fb8cbd54.zip
Rename (again) str::unsafe::slice -> str::unsafe::slice_bytes and
str::unsafe::safe_slice -> str::unsafe::slice_bytes_safe_range
Diffstat (limited to 'src/fuzzer')
-rw-r--r--src/fuzzer/fuzzer.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fuzzer/fuzzer.rs b/src/fuzzer/fuzzer.rs
index a6b1c13943a..a5cfb8db3f7 100644
--- a/src/fuzzer/fuzzer.rs
+++ b/src/fuzzer/fuzzer.rs
@@ -286,7 +286,7 @@ fn check_variants_T<T: copy>(
 fn last_part(filename: str) -> str unsafe {
   let ix = str::rindex(filename, 47u8 /* '/' */);
   assert ix >= 0;
-  str::unsafe::slice(filename, ix as uint + 1u, str::byte_len(filename) - 3u)
+  str::unsafe::slice_bytes(filename, ix as uint + 1u, str::byte_len(filename) - 3u)
 }
 
 enum happiness { passed, cleanly_rejected(str), known_bug(str), failed(str), }