mirror of
https://github.com/notohh/rustlings.git
synced 2024-12-23 03:38:09 -05:00
fix: lineno typo
This commit is contained in:
parent
f88c7d1e8c
commit
301bc52857
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue