030_switch.patch 404 B

12345678910
  1. --- exercises/030_switch.zig 2023-10-03 22:15:22.122241138 +0200
  2. +++ answers/030_switch.zig 2023-10-05 20:04:06.976098717 +0200
  3. @@ -46,6 +46,7 @@
  4. // match for every possible value). Please add an "else"
  5. // to this switch to print a question mark "?" when c is
  6. // not one of the existing matches.
  7. + else => std.debug.print("?", .{}),
  8. }
  9. }