summaryrefslogtreecommitdiff
path: root/exercises/056_unions2.zig
diff options
context:
space:
mode:
Diffstat (limited to 'exercises/056_unions2.zig')
-rw-r--r--exercises/056_unions2.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/exercises/056_unions2.zig b/exercises/056_unions2.zig
index e4294db..c46d133 100644
--- a/exercises/056_unions2.zig
+++ b/exercises/056_unions2.zig
@@ -38,8 +38,8 @@ const Insect = union(InsectStat) {
};
pub fn main() void {
- var ant = Insect{ .still_alive = true };
- var bee = Insect{ .flowers_visited = 16 };
+ const ant = Insect{ .still_alive = true };
+ const bee = Insect{ .flowers_visited = 16 };
std.debug.print("Insect report! ", .{});