Browse Source

Update: Remove the 4th branch in favour of just making that the else branch

Probably easier to not have an "unused" branch that returns the same as the else branch in the example.

Signed-off-by: mikkurogue <mikkurogue@noreply.codeberg.org>
mikkurogue 7 months ago
parent
commit
5cdaee7420
1 changed files with 0 additions and 1 deletions
  1. 0 1
      exercises/108_labeled_switch.zig

+ 0 - 1
exercises/108_labeled_switch.zig

@@ -34,7 +34,6 @@
 //              1 => continue :foo 2,
 //              2 => continue :foo 3,
 //              3 => return,
-//              4 => {},
 //              else => {},
 //          }
 //          std.debug.print("This statement cannot be reached");