move_semantics1 solution

This commit is contained in:
mo8it
2024-06-21 16:16:52 +02:00
parent 6a79ada7f2
commit 946c29679e
3 changed files with 27 additions and 5 deletions
+1 -2
View File
@@ -342,8 +342,7 @@ error on the line where we push an element to the vector, right?
The fix for this is going to be adding one keyword, and the addition is NOT on
the line where we push to the vector (where the error is).
Also: Try accessing `vec0` after having called `fill_vec()`. See what
happens!"""
Try accessing `vec0` after having called `fill_vec()`. See what happens!"""
[[exercises]]
name = "move_semantics2"