summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Boesch <chrboesch@noreply.codeberg.org>2026-04-03 19:28:12 +0200
committerChris Boesch <chrboesch@noreply.codeberg.org>2026-04-03 19:28:12 +0200
commitf6a6798c8b6b813bd2ceee81db276e05327a76e0 (patch)
tree51279ca4fbd7bd90294dd563640c12a8c25c79c6
parent7fae6e0607854831422115674f9cc02893ee217d (diff)
improved report design
-rw-r--r--build.zig2
-rw-r--r--exercises/084_interfaces.zig2
-rw-r--r--patches/patches/084_interfaces.patch4
3 files changed, 4 insertions, 4 deletions
diff --git a/build.zig b/build.zig
index 7bde273..d3d91ee 100644
--- a/build.zig
+++ b/build.zig
@@ -1121,7 +1121,7 @@ const exercises = [_]Exercise{
.{
.main_file = "084_interfaces.zig",
.output =
- \\Daily Insect Report:
+ \\=== Doctor Zoraptera's Insect Report ===
\\Ant is alive.
\\Bee visited 17 flowers.
\\Grasshopper hopped 32 meters.
diff --git a/exercises/084_interfaces.zig b/exercises/084_interfaces.zig
index 7775dd5..fd61ead 100644
--- a/exercises/084_interfaces.zig
+++ b/exercises/084_interfaces.zig
@@ -102,7 +102,7 @@ pub fn main() !void {
Insect{ .grasshopper = Grasshopper{ .distance_hopped = 32 } },
};
- std.debug.print("Daily Insect Report:\n", .{});
+ std.debug.print("=== Doctor Zoraptera's Insect Report ===\n", .{});
for (my_insects) |insect| {
// Almost done! We want to print() each insect with a
// single method call here.
diff --git a/patches/patches/084_interfaces.patch b/patches/patches/084_interfaces.patch
index a1d0628..d3a45fd 100644
--- a/patches/patches/084_interfaces.patch
+++ b/patches/patches/084_interfaces.patch
@@ -1,5 +1,5 @@
---- exercises/084_interfaces.zig 2025-08-15 15:17:57.839348063 +0200
-+++ answers/084_interfaces.zig 2026-04-03 14:27:32.670756488 +0200
+--- exercises/084_interfaces.zig 2026-04-03 19:24:51.764327692 +0200
++++ answers/084_interfaces.zig 2026-04-03 19:27:31.552579474 +0200
@@ -106,7 +106,7 @@
for (my_insects) |insect| {
// Almost done! We want to print() each insect with a