083_anonymous_lists.patch 370 B

12345678910
  1. --- exercises/083_anonymous_lists.zig 2023-10-03 22:15:22.125574535 +0200
  2. +++ answers/083_anonymous_lists.zig 2023-10-05 20:04:07.216103210 +0200
  3. @@ -20,6 +20,6 @@
  4. //
  5. // = .{ 'h', 'e', 'l', 'l', 'o' };
  6. //
  7. - const hello = .{ 'h', 'e', 'l', 'l', 'o' };
  8. + const hello: [5]u8 = .{ 'h', 'e', 'l', 'l', 'o' };
  9. print("I say {s}!\n", .{hello});
  10. }