fix benchmarks

This commit is contained in:
Lireer 2020-10-09 17:21:21 +02:00 committed by Lireer
parent ff23539624
commit 2911282c36

View file

@ -3,7 +3,7 @@ use bencher::{benchmark_group, benchmark_main};
use std::io::{Cursor, Read, Write}; use std::io::{Cursor, Read, Write};
use bencher::Bencher; use bencher::Bencher;
use rand::Rng; use rand::RngCore;
use zip::{ZipArchive, ZipWriter}; use zip::{ZipArchive, ZipWriter};
fn generate_random_archive(size: usize) -> Vec<u8> { fn generate_random_archive(size: usize) -> Vec<u8> {