1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2024-12-12 11:14:55 +02:00

fix(vecs): rename outdated variable name in hint

This commit is contained in:
Florine W. Dekker 2023-06-07 16:58:02 +02:00
parent 30291a3c25
commit 479574e88e
No known key found for this signature in database
GPG Key ID: D3DCFAA8A4560BE0

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: `element` is each element from the Vec as they are 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