diff --git a/rust/libraries/acars_connection_manager/src/message_handler.rs b/rust/libraries/acars_connection_manager/src/message_handler.rs index 97d2b04e..ec50a7e9 100644 --- a/rust/libraries/acars_connection_manager/src/message_handler.rs +++ b/rust/libraries/acars_connection_manager/src/message_handler.rs @@ -333,7 +333,13 @@ pub async fn print_stats( for freq in frequencies.lock().await.iter_mut() { let percentage: f64 = (freq.count as f64 / total_all_time_locked as f64) * 100.0; - output.push_str(format!("{} {}: {}/{} ({:.2}%)\n", queue_type, freq.freq, freq.count, total_all_time_locked, percentage)); + output.push_str( + format!( + "{} {}: {}/{} ({:.2}%)\n", + queue_type, freq.freq, freq.count, total_all_time_locked, percentage + ) + .as_str(), + ); } println!("{}", output);