We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db3f332 commit 60b369aCopy full SHA for 60b369a
1 file changed
solutions/03_if/if3.rs
@@ -2,6 +2,7 @@ fn animal_habitat(animal: &str) -> &str {
2
let identifier = if animal == "crab" {
3
1
4
} else if animal == "gopher" {
5
+ // Integer, so that every branch has the same type.
6
7
} else if animal == "snake" {
8
0 commit comments