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.
2 parents c4d0fe7 + f15d69f commit ba919dfCopy full SHA for ba919df
1 file changed
src/switch_ii/challenges.md
@@ -27,7 +27,7 @@ enum NaturalEnemy {
27
}
28
29
NaturalEnemy enemy(Profession p) {
30
- switch (p) {
+ return switch (p) {
31
case FIREFIGHTER -> {
32
// CODE HERE
33
};
0 commit comments