Merge pull request #1562 from tajo48/main

chore: update hint for vecs2
This commit is contained in:
liv 2023-06-15 10:41:46 +02:00 committed by GitHub
commit 4b9e77d2ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -260,8 +260,8 @@ name = "vecs2"
path = "exercises/vecs/vecs2.rs" path = "exercises/vecs/vecs2.rs"
mode = "test" mode = "test"
hint = """ hint = """
Hint 1: `element` is each element from the Vec as they are being iterated. Can you Hint 1: In the code, the variable `element` represents an item from the Vec as it is being iterated.
try multiplying this? Can you 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