diff options
| author | Chris Boesch <chrboesch@noreply.codeberg.org> | 2025-11-28 15:15:49 +0100 |
|---|---|---|
| committer | Chris Boesch <chrboesch@noreply.codeberg.org> | 2025-11-28 15:15:49 +0100 |
| commit | 9302d102828413a6424c2c71a6a645cc5d064201 (patch) | |
| tree | 1d857577cdd3d6e6bf753e8acb6904f69f332ebe /patches | |
| parent | ed9694e557bcbe95e5d00489d32aec556614a52d (diff) | |
| parent | 757826d45a66168bd74e6912c7d7fceb151bb10c (diff) | |
Merge pull request 'changed 1 to 42 for better understanding' (#329) from i326 into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/329
Diffstat (limited to 'patches')
| -rw-r--r-- | patches/patches/009_if.patch | 10 |
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 { |
