From 5cdaee74205e97da127d749b07cbe6e64ba6a940 Mon Sep 17 00:00:00 2001 From: mikkurogue Date: Tue, 7 Jan 2025 10:15:59 +0000 Subject: [PATCH] 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 --- exercises/108_labeled_switch.zig | 1 - 1 file changed, 1 deletion(-) diff --git a/exercises/108_labeled_switch.zig b/exercises/108_labeled_switch.zig index d506cac..bd0b478 100644 --- a/exercises/108_labeled_switch.zig +++ b/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");