diff options
| author | Youngsoo Son <ysoo.son@samsung.com> | 2013-05-10 20:08:56 +0900 |
|---|---|---|
| committer | Youngsoo Son <ysoo.son@samsung.com> | 2013-05-10 20:08:56 +0900 |
| commit | 24ef88cee96de837370ec370ed4d1f3aa3530a20 (patch) | |
| tree | 931a1c73110fa3316d51f19f618dc07167d67ea8 /src/libfuzzer | |
| parent | b7da97504943c79185548881aab88d6a0e2118fd (diff) | |
| download | rust-24ef88cee96de837370ec370ed4d1f3aa3530a20.tar.gz rust-24ef88cee96de837370ec370ed4d1f3aa3530a20.zip | |
renamed str::from_slice to str::to_owned
Diffstat (limited to 'src/libfuzzer')
| -rw-r--r-- | src/libfuzzer/fuzzer.rc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libfuzzer/fuzzer.rc b/src/libfuzzer/fuzzer.rc index 33e970c305a..c75dc2979f1 100644 --- a/src/libfuzzer/fuzzer.rc +++ b/src/libfuzzer/fuzzer.rc @@ -316,7 +316,7 @@ pub fn check_variants_T<T:Copy>(crate: @ast::crate, if L < 100 { do under(uint::min(L, 20)) |i| { error!("Replacing... #%?", uint::to_str(i)); - let fname = str::from_slice(filename.to_str()); + let fname = str::to_owned(filename.to_str()); do under(uint::min(L, 30)) |j| { let fname = fname.to_str(); error!("With... %?", stringifier(things[j], intr)); |
