From 10dab713771d97a516ee2f9e1b844093b3813e0a Mon Sep 17 00:00:00 2001 From: Jack Fletcher Date: Mon, 7 Jun 2021 02:51:28 +0100 Subject: [PATCH] Apply linter fixes --- benches/read_entry.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/benches/read_entry.rs b/benches/read_entry.rs index 79288cbd..a7be726d 100644 --- a/benches/read_entry.rs +++ b/benches/read_entry.rs @@ -1,5 +1,5 @@ -use criterion::{BenchmarkId, Criterion, Throughput}; use criterion::{criterion_group, criterion_main}; +use criterion::{BenchmarkId, Criterion, Throughput}; use std::io::{Cursor, Read, Write}; @@ -44,7 +44,7 @@ fn read_entry(bench: &mut Criterion) { let n = file.read(&mut buf).unwrap(); total_bytes += n; if n == 0 { - return total_bytes + return total_bytes; } } });