summaryrefslogtreecommitdiff
path: root/exercises/057_unions3.zig
diff options
context:
space:
mode:
Diffstat (limited to 'exercises/057_unions3.zig')
-rw-r--r--exercises/057_unions3.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/exercises/057_unions3.zig b/exercises/057_unions3.zig
index a5017d2..0c3c3b2 100644
--- a/exercises/057_unions3.zig
+++ b/exercises/057_unions3.zig
@@ -15,7 +15,7 @@
//
const std = @import("std");
-const Insect = union(InsectStat) {
+const Insect = union(enum) {
flowers_visited: u16,
still_alive: bool,
};