Skip to content

Commit 62d8b5c

Browse files
[autofix.ci] apply automated fixes
1 parent 084de2b commit 62d8b5c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/async_rev_buf/benches/comparison.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
use async_rev_buf::RevBufReader;
22
use criterion::{criterion_group, criterion_main, BenchmarkId, Criterion, Throughput};
3+
use futures_util::{pin_mut, StreamExt};
34
use rev_buf_reader::RevBufReader as SyncRevBufReader;
45
use std::hint::black_box;
56
use std::io::{BufRead, Cursor};
67
use tokio::io::AsyncBufReadExt;
78
use tokio::io::BufReader;
89
use tokio::runtime::Runtime;
910
use tokio_rev_lines::RevLines;
10-
use futures_util::{pin_mut, StreamExt};
1111

1212
fn create_test_data(num_lines: usize) -> String {
1313
(0..num_lines)
@@ -88,7 +88,7 @@ fn bench_async_vs_sync_comparison(c: &mut Criterion) {
8888
})
8989
},
9090
);
91-
91+
9292
// Test tokio-rev-lines implementation
9393
group.bench_with_input(
9494
BenchmarkId::new("tokio_rev_lines", num_lines),

0 commit comments

Comments
 (0)