Fix stale comment

This commit is contained in:
Herbert Wolverson 2023-07-10 20:30:28 +00:00
parent fbfe4d6fb6
commit c055fb337b

View File

@ -30,8 +30,6 @@ impl ThroughputTracker {
pub(crate) fn copy_previous_and_reset_rtt(&self) {
// Copy previous byte/packet numbers and reset RTT data
// We're using Rayon's "par_iter_mut" to spread the operation across
// all CPU cores.
let self_cycle = self.cycle.load(std::sync::atomic::Ordering::Relaxed);
self.raw_data.iter_mut().for_each(|mut v| {
if v.first_cycle < self_cycle {