arc1 solution

This commit is contained in:
mo8it
2024-06-29 01:48:00 +02:00
parent f3842aa746
commit a943f5ba32
3 changed files with 72 additions and 28 deletions
+1 -1
View File
@@ -1004,7 +1004,7 @@ name = "arc1"
dir = "19_smart_pointers"
test = false
hint = """
Make `shared_numbers` be an `Arc` from the numbers vector. Then, in order
Make `shared_numbers` be an `Arc` from the `numbers` vector. Then, in order
to avoid creating a copy of `numbers`, you'll need to create `child_numbers`
inside the loop but still in the main thread.