summaryrefslogtreecommitdiff
path: root/exercises/if/if2.rs
AgeCommit message (Collapse)Author
2023-10-16Update Exercises Directory Names to Reflect OrderAdam Brewer
2023-05-29docs: cleanup the explanation paragraphs at the start of each exercise.Robert Fry
2022-07-12fix(if2): Rename if2 exercise function to foo_if_fizz.Adam Sherwood
The reasoning here is pretty straightforward: you don't say "Hungry, if eat." That doesn't make sense. We want to get "foo" back if given "fizz", so it seems this makes far more sense as "Eat, if hungry," or in this case, return `foo_if_fizz` is given.
2022-07-12feat(if): replace hintsmokou
2020-05-02feat: Add if2 exerciseRob Story