mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-27 00:00:03 +03:00
Clarified hint text
This commit is contained in:
parent
8d0aa11a35
commit
75ee0e4245
|
@ -145,7 +145,7 @@ after the `->`. This is where the function's return type should be -- take a
|
||||||
look at the `is_even` function for an example!
|
look at the `is_even` function for an example!
|
||||||
|
|
||||||
Also: Did you figure out that, technically, `u32` would be the more fitting type
|
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!"""
|
for the inputs of the functions here, since the original prices shouldn't be negative? If so, kudos!"""
|
||||||
|
|
||||||
[[exercises]]
|
[[exercises]]
|
||||||
name = "functions5"
|
name = "functions5"
|
||||||
|
|
Loading…
Reference in a new issue