summaryrefslogtreecommitdiff
path: root/patches
diff options
context:
space:
mode:
authorChris Boesch <chrboesch@noreply.codeberg.org>2025-11-28 14:42:58 +0100
committerChris Boesch <chrboesch@noreply.codeberg.org>2025-11-28 14:42:58 +0100
commit757826d45a66168bd74e6912c7d7fceb151bb10c (patch)
tree1d857577cdd3d6e6bf753e8acb6904f69f332ebe /patches
parented9694e557bcbe95e5d00489d32aec556614a52d (diff)
changed 1 to 42 for better understanding
Diffstat (limited to 'patches')
-rw-r--r--patches/patches/009_if.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/patches/patches/009_if.patch b/patches/patches/009_if.patch
index ebebb35..4692f1a 100644
--- a/patches/patches/009_if.patch
+++ b/patches/patches/009_if.patch
@@ -1,11 +1,11 @@
---- exercises/009_if.zig 2023-10-03 22:15:22.122241138 +0200
-+++ answers/009_if.zig 2023-10-05 20:04:06.882763636 +0200
+--- exercises/009_if.zig 2025-11-28 14:40:19.301738185 +0100
++++ answers/009_if.zig 2025-11-28 14:39:07.756077340 +0100
@@ -24,7 +24,7 @@
- const foo = 1;
+ const foo = 42;
// Please fix this condition:
- if (foo) {
-+ if (foo == 1) {
++ if (foo == 42) {
// We want our program to print this message!
- std.debug.print("Foo is 1!\n", .{});
+ std.debug.print("Foo is 42!\n", .{});
} else {