mirror of
https://github.com/rust-lang/rustlings
synced 2024-11-10 13:10:40 +00:00
commit
4b9e77d2ef
@ -260,8 +260,8 @@ name = "vecs2"
|
||||
path = "exercises/vecs/vecs2.rs"
|
||||
mode = "test"
|
||||
hint = """
|
||||
Hint 1: `element` 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
|
||||
|
Loading…
Reference in New Issue
Block a user