You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rustlings/exercises/if
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.
2 years ago
..
README.md feat(if): replace hints 2 years ago
if1.rs feat(if): replace hints 2 years ago
if2.rs fix(if2): Rename if2 exercise function to foo_if_fizz. 2 years ago

README.md

If

if, the most basic (but still surprisingly versatile!) type of control flow, is what you'll learn here.

Further information