summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortajo48 <woj161626@gmail.com>2023-05-31 16:37:41 +0200
committertajo48 <woj161626@gmail.com>2023-05-31 16:37:41 +0200
commit1e02f194fdd1cb1ca99cf1d93d11455db8b1bce6 (patch)
tree4591f58c35f6bae7a2a396b9322ba10c004f5555
parent30291a3c253f08a4191cfd544ba36867612ebb7a (diff)
update hint for vecs2 to match with exercise as it was updated to fix clarity
-rw-r--r--info.toml4
1 files changed, 2 insertions, 2 deletions
diff --git a/info.toml b/info.toml
index 2add5f0..a7155d4 100644
--- a/info.toml
+++ b/info.toml
@@ -260,8 +260,8 @@ name = "vecs2"
path = "exercises/vecs/vecs2.rs"
mode = "test"
hint = """
-Hint 1: `i` is each element from the Vec as they are being iterated. Can you try
-multiplying this?
+Hint 1: In the code, the variable `element` represents an item from the Vec as it is being iterated.
+Can you try multiplying this?
Hint 2: For the first function, there's a way to directly access the numbers stored
in the Vec, using the * dereference operator. You can both access and write to the