summaryrefslogtreecommitdiff
path: root/exercises/072_comptime7.zig
diff options
context:
space:
mode:
Diffstat (limited to 'exercises/072_comptime7.zig')
-rw-r--r--exercises/072_comptime7.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/exercises/072_comptime7.zig b/exercises/072_comptime7.zig
index 9bc30fb..631e75b 100644
--- a/exercises/072_comptime7.zig
+++ b/exercises/072_comptime7.zig
@@ -39,7 +39,7 @@ pub fn main() void {
// This gets the digit from the "instruction". Can you
// figure out why we subtract '0' from it?
- comptime var digit = instructions[i + 1] - '0';
+ const digit = instructions[i + 1] - '0';
// This 'switch' statement contains the actual work done
// at runtime. At first, this doesn't seem exciting...