Skip to content

Commit

Permalink
Fix typo in doc comment in mpmc benchmark.
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholassm committed Aug 6, 2024
1 parent a2cb31b commit 568f810
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benches/mpsc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ fn crossbeam(group: &mut BenchmarkGroup<WallTime>, params: (i64, u64), param_des

fn disruptor(group: &mut BenchmarkGroup<WallTime>, params: (i64, u64), param_description: &str) {
let factory = || { Event { data: 0 } };
// Use an AtomicI64 to "extract" the value from the processing thread.
// Use an AtomicI64 to count number of received events.
let sink = Arc::new(AtomicI64::new(0));
let processor = {
let sink = Arc::clone(&sink);
Expand Down

0 comments on commit 568f810

Please sign in to comment.