about summary refs log tree commit diff
path: root/src/libfuzzer
diff options
context:
space:
mode:
Diffstat (limited to 'src/libfuzzer')
-rw-r--r--src/libfuzzer/fuzzer.rc2
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));