ziglings/patches/patches/083_anonymous_lists.patch
Manlio Perillo 6b17a18893 Ensure the exercises use the canonical format
Add the check-exercises.py tool in the new tools directory.  It is used
to check that the exercises are correctly formatted, printing on stderr
the invalid ones and the diff in the unified format.

Update the exercises that don't use the canonical zig fmt format.

Update some patches that cause the generated zig file to be incorrectly
formatted.
2023-04-18 18:16:19 +02:00

4 lines
117 B
Diff

23c23
< const hello = .{ 'h', 'e', 'l', 'l', 'o' };
---
> const hello: [5]u8 = .{ 'h', 'e', 'l', 'l', 'o' };