async1: update hint

The previous hint corresponds to an early draft of the async1 exercise.
It should've been updated in 38a1078c23,
which replaced that draft with a different approach.
This commit is contained in:
Remo Senekowitsch
2026-10-26 18:14:40 +01:00
parent bc8e51115c
commit f7b9b3c588
+2 -2
View File
@@ -1223,7 +1223,7 @@ input_files = [
hint = """
Asynchronous runtimes like tokio can only spawn tasks that are defined as async
functions, not regular ones. Add the "async" keyword before the "fn" keyword of
the functions "tim", "carl" and "nick".
the function "calculate_mean_score".
An async task can wait for another one to complete by "awaiting" it. Add
".await" after the three "task_name" variables in the "block_on" call."""
".await" after the three "mean_score_*" variables in the "assert_eq" statements."""