diff options
| author | Huon Wilson <dbau.pp+github@gmail.com> | 2013-06-11 11:49:51 +1000 |
|---|---|---|
| committer | Huon Wilson <dbau.pp+github@gmail.com> | 2013-06-12 12:21:03 +1000 |
| commit | 96cd61ad034cc9e88ab6a7845c3480dbc1ea62f3 (patch) | |
| tree | 02a109c7703430ff9595c631e3ba4621c0374f1c /src/libfuzzer/fuzzer.rc | |
| parent | e06579bc0935ed1dcbddef41bc1b6a8850a2059c (diff) | |
| download | rust-96cd61ad034cc9e88ab6a7845c3480dbc1ea62f3.tar.gz rust-96cd61ad034cc9e88ab6a7845c3480dbc1ea62f3.zip | |
std: convert {vec,str}::to_owned to methods.
Diffstat (limited to 'src/libfuzzer/fuzzer.rc')
| -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 dbeea417a3d..5ca25c11ba0 100644 --- a/src/libfuzzer/fuzzer.rc +++ b/src/libfuzzer/fuzzer.rc @@ -328,7 +328,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::to_owned(filename.to_str()); + let fname = filename.to_str(); do under(uint::min(L, 30)) |j| { let fname = fname.to_str(); error!("With... %?", stringifier(things[j], intr)); |
