From 2911282c36c9fc23d662951c16286378378b3a33 Mon Sep 17 00:00:00 2001 From: Lireer Date: Fri, 9 Oct 2020 17:21:21 +0200 Subject: [PATCH] fix benchmarks --- benches/read_entry.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benches/read_entry.rs b/benches/read_entry.rs index 25c0b94a..84398316 100644 --- a/benches/read_entry.rs +++ b/benches/read_entry.rs @@ -3,7 +3,7 @@ use bencher::{benchmark_group, benchmark_main}; use std::io::{Cursor, Read, Write}; use bencher::Bencher; -use rand::Rng; +use rand::RngCore; use zip::{ZipArchive, ZipWriter}; fn generate_random_archive(size: usize) -> Vec {