async1: remove redundant TODO comment

This commit is contained in:
Remo Senekowitsch
2026-08-29 22:39:33 +03:00
committed by Mo Bitar
parent 8cc9990af9
commit a13cfb63e9
-1
View File
@@ -11,7 +11,6 @@
// The macro `tokio::main` wraps the entire main function in a runtime. // The macro `tokio::main` wraps the entire main function in a runtime.
#[tokio::main] #[tokio::main]
async fn main() { async fn main() {
// TODO: Fix the compiler errors by making the spawned function async.
let mean_score_a = tokio::spawn(calculate_mean_score("input_files/scores_class_a.txt")); let mean_score_a = tokio::spawn(calculate_mean_score("input_files/scores_class_a.txt"));
let mean_score_b = tokio::spawn(calculate_mean_score("input_files/scores_class_b.txt")); let mean_score_b = tokio::spawn(calculate_mean_score("input_files/scores_class_b.txt"));
let mean_score_c = tokio::spawn(calculate_mean_score("input_files/scores_class_c.txt")); let mean_score_c = tokio::spawn(calculate_mean_score("input_files/scores_class_c.txt"));