diff options
| author | mokou <mokou@fastmail.com> | 2022-07-12 11:08:29 +0200 |
|---|---|---|
| committer | mokou <mokou@fastmail.com> | 2022-07-12 11:08:29 +0200 |
| commit | 742fb08e010725868ebdce41038461088d95a3d9 (patch) | |
| tree | 467fba3347703656f518182c53973a6938515103 /info.toml | |
| parent | 093a525450bd1d0092d91bb90969bffab2df55a9 (diff) | |
feat(functions): more small fixes
Diffstat (limited to 'info.toml')
| -rw-r--r-- | info.toml | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -114,7 +114,9 @@ path = "exercises/functions/functions3.rs" mode = "compile" hint = """ This time, the function *declaration* is okay, but there's something wrong -with the place where we're calling the function.""" +with the place where we're calling the function. +As a reminder, you can freely play around with different solutions in Rustlings! +Watch mode will only jump to the next exercise if you remove the I AM NOT DONE comment.""" [[exercises]] name = "functions4" @@ -123,7 +125,10 @@ 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 `is_even` function for an example!""" +the `is_even` function for an example! + +Also: Did you figure out that, technically, u32 would be the more fitting type +for the prices here, since they can't be negative? If so, kudos!""" [[exercises]] name = "functions5" |
