mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-25 23:04:17 -05:00
fix(vecs): rename outdated variable name in hint
This commit is contained in:
parent
30291a3c25
commit
479574e88e
1 changed files with 2 additions and 2 deletions
|
@ -260,8 +260,8 @@ name = "vecs2"
|
||||||
path = "exercises/vecs/vecs2.rs"
|
path = "exercises/vecs/vecs2.rs"
|
||||||
mode = "test"
|
mode = "test"
|
||||||
hint = """
|
hint = """
|
||||||
Hint 1: `i` is each element from the Vec as they are being iterated. Can you try
|
Hint 1: `element` is each element from the Vec as they are being iterated. Can you
|
||||||
multiplying this?
|
try multiplying this?
|
||||||
|
|
||||||
Hint 2: For the first function, there's a way to directly access the numbers stored
|
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
|
in the Vec, using the * dereference operator. You can both access and write to the
|
||||||
|
|
Loading…
Reference in a new issue