5 Commits

Author SHA1 Message Date
Steven Johnson
ac294635fd Merge branch 'main' of https://github.com/rust-lang/rustlings into rust-lang-main 2022-07-22 16:59:35 +12:00
Adam Sherwood
5812f1f27b fix(if2): Rename if2 exercise function to foo_if_fizz.
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-12 11:13:04 +02:00
mokou
4868d18ea3 feat(if): replace hints 2022-07-12 11:10:08 +02:00
Steven Johnson
4aea0208d8 more work 2022-06-28 21:32:07 +12:00
Rob Story
1da84b5f7c feat: Add if2 exercise 2020-05-02 13:02:16 -07:00