summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex <alexwh@users.noreply.github.com>2023-02-18 19:26:40 +0000
committerGitHub <noreply@github.com>2023-02-18 19:26:40 +0000
commit89069f78b165e2e10d0b0a72c8d6b246bb9e9c94 (patch)
treef177fa7bc3438161dfe5863d837b53886bf396db
parentbec7be05f55bc17732bbae529b85b476bb8c7448 (diff)
chore: update move_semantics4.rs' hint
after #144, the signature doesn't need changing anymore
-rw-r--r--info.toml3
1 files changed, 1 insertions, 2 deletions
diff --git a/info.toml b/info.toml
index 2f42403..431b49f 100644
--- a/info.toml
+++ b/info.toml
@@ -325,8 +325,7 @@ doing one step and then fixing the compiler errors that result!
So the end goal is to:
- get rid of the first line in main that creates the new vector
- so then `vec0` doesn't exist, so we can't pass it to `fill_vec`
- - we don't want to pass anything to `fill_vec`, so its signature should
- reflect that it does not take any arguments
+ - `fill_vec` has had its signature changed, which our call should reflect
- since we're not creating a new vec in `main` anymore, we need to create
a new vec in `fill_vec`, similarly to the way we did in `main`"""