Skip to content

Commit c277720

Browse files
committed
No need to unpack
1 parent f6df7d9 commit c277720

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

average-benchmark/src/benchmark.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ pub fn benchmark_multi_thread(num_threads: usize) -> f64 {
7373
},
7474
)
7575
.for_each(|x| {
76-
let _ = tx.send((x.0, x.1));
76+
let _ = tx.send(x);
7777
});
7878

7979
let duration = start.elapsed();

0 commit comments

Comments
 (0)