diff options
author | Manlio Perillo <manlio.perillo@gmail.com> | 2023-04-16 12:23:10 +0200 |
---|---|---|
committer | Manlio Perillo <manlio.perillo@gmail.com> | 2023-04-18 18:16:19 +0200 |
commit | 6b17a188936d489e2777e541c84112b2609532d5 (patch) | |
tree | 99303fde89f0b921f44705433b7fc1a39d0b6fef /exercises/092_interfaces.zig | |
parent | b59bef29b9c74270539e2f775d2f0394ec435f2d (diff) |
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.
Diffstat (limited to 'exercises/092_interfaces.zig')
-rw-r--r-- | exercises/092_interfaces.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/exercises/092_interfaces.zig b/exercises/092_interfaces.zig index 43f1119..5ac5768 100644 --- a/exercises/092_interfaces.zig +++ b/exercises/092_interfaces.zig @@ -99,7 +99,7 @@ pub fn main() !void { var my_insects = [_]Insect{ Insect{ .ant = Ant{ .still_alive = true } }, Insect{ .bee = Bee{ .flowers_visited = 17 } }, - Insect{ .grasshopper = Grasshopper{ .distance_hopped = 32 }, }, + Insect{ .grasshopper = Grasshopper{ .distance_hopped = 32 } }, }; std.debug.print("Daily Insect Report:\n", .{}); |