063_labels.patch 435 B

12345678910111213
  1. --- exercises/063_labels.zig 2023-10-03 22:15:22.125574535 +0200
  2. +++ answers/063_labels.zig 2023-10-05 20:04:07.126101525 +0200
  3. @@ -128,8 +128,8 @@
  4. // wanted for this Food.
  5. //
  6. // Please return this Food from the loop.
  7. - break;
  8. - };
  9. + break food;
  10. + } else menu[0];
  11. // ^ Oops! We forgot to return Mac & Cheese as the default
  12. // Food when the requested ingredients aren't found.