Merge pull request #1856 from JanB1/main

Clarified hint text
This commit is contained in:
liv 2024-03-15 14:01:54 +01:00 committed by GitHub
commit 9bae712453
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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"