Merge pull request #1544 from FWDekker/main

fix(vecs): rename outdated variable name in hint
This commit is contained in:
liv 2023-06-12 12:32:10 +02:00 committed by GitHub
commit c6c7dd2fce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

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