Skip to content

Commit

Permalink
Merge pull request rust-lang#1102 from thatlittleboy/fix/hints-typos
Browse files Browse the repository at this point in the history
Fix/hints typos
  • Loading branch information
shadows-withal authored Jul 24, 2022
2 parents 3a32709 + 301bc52 commit d21a8e6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions info.toml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ name = "variables5"
path = "exercises/variables/variables5.rs"
mode = "compile"
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
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
Expand Down Expand Up @@ -123,8 +123,8 @@ name = "functions4"
path = "exercises/functions/functions4.rs"
mode = "compile"
hint = """
The error message points to line 14 and says it expects a type after the
`->`. This is where the function's return type should be-- take a look at
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
the `is_even` function for an example!
Also: Did you figure out that, technically, u32 would be the more fitting type
Expand Down

0 comments on commit d21a8e6

Please sign in to comment.