aboutsummaryrefslogtreecommitdiff
path: root/exercises/055_unions.zig
diff options
context:
space:
mode:
Diffstat (limited to 'exercises/055_unions.zig')
-rw-r--r--exercises/055_unions.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/exercises/055_unions.zig b/exercises/055_unions.zig
index 6339fc8..f6913b4 100644
--- a/exercises/055_unions.zig
+++ b/exercises/055_unions.zig
@@ -59,8 +59,8 @@ pub fn main() void {
std.debug.print("Insect report! ", .{});
// Oops! We've made a mistake here.
- printInsect(ant, AntOrBee.c);
- printInsect(bee, AntOrBee.c);
+ printInsect(ant, AntOrBee.a);
+ printInsect(bee, AntOrBee.b);
std.debug.print("\n", .{});
}