From 6abe26d757818147687794fb24766a52b4e2af5a Mon Sep 17 00:00:00 2001 From: Chris Hennick <4961925+Pr0methean@users.noreply.github.com> Date: Sat, 8 Jun 2024 14:32:57 -0700 Subject: [PATCH] ci(fuzz): Fix build errors --- fuzz/fuzz_targets/fuzz_write.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fuzz/fuzz_targets/fuzz_write.rs b/fuzz/fuzz_targets/fuzz_write.rs index 7cd51ab5..66ea9714 100755 --- a/fuzz/fuzz_targets/fuzz_write.rs +++ b/fuzz/fuzz_targets/fuzz_write.rs @@ -196,10 +196,10 @@ where match operation.reopen { ReopenOption::DoNotReopen => {}, ReopenOption::ViaFinish => replace_with_or_abort(writer, |old_writer: zip::ZipWriter| { - zip::ZipWriter::new_append(old_writer.finish()?)? + zip::ZipWriter::new_append(old_writer.finish().unwrap()).unwrap() }), ReopenOption::ViaFinishIntoReadable => replace_with_or_abort(writer, |old_writer: zip::ZipWriter| { - zip::ZipWriter::new_append(old_writer.finish_into_readable()?.into_inner())? + zip::ZipWriter::new_append(old_writer.finish_into_readable().unwrap().into_inner()).unwrap() }), } assert_eq!(&old_comment, writer.get_raw_comment());