summaryrefslogtreecommitdiffstatshomepage
path: root/exercises/031_switch2.zig
diff options
context:
space:
mode:
Diffstat (limited to 'exercises/031_switch2.zig')
-rw-r--r--exercises/031_switch2.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/exercises/031_switch2.zig b/exercises/031_switch2.zig
index d8af6e6..cf5b5a5 100644
--- a/exercises/031_switch2.zig
+++ b/exercises/031_switch2.zig
@@ -2,7 +2,7 @@
// What's really nice is that you can use a switch statement as an
// expression to return a value.
//
-// var a = switch (x) {
+// const a = switch (x) {
// 1 => 9,
// 2 => 16,
// 3 => 7,