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.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/exercises/057_unions3.zig b/exercises/057_unions3.zig
index 142180f..a5017d2 100644
--- a/exercises/057_unions3.zig
+++ b/exercises/057_unions3.zig
@@ -21,8 +21,8 @@ const Insect = union(InsectStat) {
};
pub fn main() void {
- var ant = Insect{ .still_alive = true };
- var bee = Insect{ .flowers_visited = 17 };
+ const ant = Insect{ .still_alive = true };
+ const bee = Insect{ .flowers_visited = 17 };
std.debug.print("Insect report! ", .{});