diff --git a/fuzz/fuzz_targets/fuzz_write.rs b/fuzz/fuzz_targets/fuzz_write.rs index 13b536b6..9ff43a47 100644 --- a/fuzz/fuzz_targets/fuzz_write.rs +++ b/fuzz/fuzz_targets/fuzz_write.rs @@ -72,7 +72,7 @@ fn do_operation(writer: &mut RefCell>, } } if operation.abort { - writer.abort_file().unwrap(); + writer.borrow_mut().abort_file().unwrap(); } if operation.reopen { let new_writer = zip_next::ZipWriter::new_append(writer.borrow_mut().finish().unwrap()).unwrap();