Merge pull request #1102 from thatlittleboy/fix/hints-typos

Fix/hints typos
This commit is contained in:
liv 2022-07-24 23:25:58 +02:00 committed by GitHub
commit d21a8e63c1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -63,7 +63,7 @@ name = "variables5"
path = "exercises/variables/variables5.rs" path = "exercises/variables/variables5.rs"
mode = "compile" mode = "compile"
hint = """ hint = """
In variables3 we already learned how to make an immutable variable mutable In variables4 we already learned how to make an immutable variable mutable
using a special keyword. Unfortunately this doesn't help us much in this exercise using a special keyword. Unfortunately this doesn't help us much in this exercise
because we want to assign a different typed value to an existing variable. Sometimes because we want to assign a different typed value to an existing variable. Sometimes
you may also like to reuse existing variable names because you are just converting you may also like to reuse existing variable names because you are just converting
@ -123,7 +123,7 @@ name = "functions4"
path = "exercises/functions/functions4.rs" path = "exercises/functions/functions4.rs"
mode = "compile" mode = "compile"
hint = """ hint = """
The error message points to line 14 and says it expects a type after the The error message points to line 17 and says it expects a type after the
`->`. This is where the function's return type should be -- take a look at `->`. This is where the function's return type should be -- take a look at
the `is_even` function for an example! the `is_even` function for an example!