1
0
Fork 0
mirror of https://github.com/rust-lang/rustlings.git synced 2024-06-06 09:26:15 +02:00

update hint for vecs2 to match with exercise as it was updated to fix clarity

This commit is contained in:
tajo48 2023-05-31 16:37:41 +02:00
parent 30291a3c25
commit 1e02f194fd

View File

@ -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