aboutsummaryrefslogtreecommitdiff
path: root/exercises/009_if.zig
diff options
context:
space:
mode:
Diffstat (limited to 'exercises/009_if.zig')
-rw-r--r--exercises/009_if.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/exercises/009_if.zig b/exercises/009_if.zig
index 4536fc3..a053fa2 100644
--- a/exercises/009_if.zig
+++ b/exercises/009_if.zig
@@ -24,7 +24,7 @@ pub fn main() void {
const foo = 1;
// Please fix this condition:
- if (foo) {
+ if (foo == 1) {
// We want our program to print this message!
std.debug.print("Foo is 1!\n", .{});
} else {