From f7b9b3c5882a1a43275130b95142d94f847526f5 Mon Sep 17 00:00:00 2001 From: Remo Senekowitsch Date: Mon, 26 Oct 2026 18:09:21 +0100 Subject: [PATCH] async1: update hint The previous hint corresponds to an early draft of the async1 exercise. It should've been updated in 38a1078c23261a04bfa99310a5bb0df953839e20, which replaced that draft with a different approach. --- rustlings-macros/info.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rustlings-macros/info.toml b/rustlings-macros/info.toml index 226f0038..e946fe1d 100644 --- a/rustlings-macros/info.toml +++ b/rustlings-macros/info.toml @@ -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."""