diff --git a/benches/read_metadata.rs b/benches/read_metadata.rs index f4a77988..73f2b26e 100644 --- a/benches/read_metadata.rs +++ b/benches/read_metadata.rs @@ -61,7 +61,7 @@ fn parse_archive_with_comment(bench: &mut Bencher) { bench.bench_n(1, |_| { let archive = ZipArchive::new(Cursor::new(bytes.as_slice())).unwrap(); - archive.comment().len(); + let _ = archive.comment().len(); }); bench.bytes = bytes.len() as u64; }