From 568f810eb85762d5d1846eadf36ffc75b8e53378 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicholas=20Schultz-M=C3=B8ller?= Date: Tue, 6 Aug 2024 22:19:56 +0200 Subject: [PATCH] Fix typo in doc comment in mpmc benchmark. --- benches/mpsc.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benches/mpsc.rs b/benches/mpsc.rs index 84d940d..9cce4d7 100644 --- a/benches/mpsc.rs +++ b/benches/mpsc.rs @@ -187,7 +187,7 @@ fn crossbeam(group: &mut BenchmarkGroup, params: (i64, u64), param_des fn disruptor(group: &mut BenchmarkGroup, 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);