From de71e01a95f848f909f64dee26f002f35a5ed6d7 Mon Sep 17 00:00:00 2001 From: Magnus Markling Date: Mon, 19 Sep 2022 21:13:19 +0200 Subject: [PATCH] even more --- exercise/threads_channels/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercise/threads_channels/src/main.rs b/exercise/threads_channels/src/main.rs index 05220a9..73f6e44 100644 --- a/exercise/threads_channels/src/main.rs +++ b/exercise/threads_channels/src/main.rs @@ -18,7 +18,7 @@ fn expensive_sum(v: Vec) -> i32 { fn main() { let my_vector = vec![2, 5, 1, 0, 4, 3]; - // 1. Spawn a child thread and have it call `expensive_sum(my_vector)`. Store the returned + // 1. Spawn a child thread and have it call `expensive_sum(my_vector)`. Store the returned // join handle in a variable called `handle`. Once you've done this you should be able to run // the code and see the output from the child thread's expensive sum in the middle of the main // thread's processing of letters.