Apply linter fixes

This commit is contained in:
Jack Fletcher 2021-06-07 02:51:28 +01:00
parent 6c1bd78a6b
commit 10dab71377

View file

@ -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;
}
}
});