mirror of
https://codeberg.org/ziglings/exercises.git
synced 2026-06-12 01:49:59 +00:00
Insert space for additional async exercises
This commit is contained in:
11
patches/patches/103_for4.patch
Normal file
11
patches/patches/103_for4.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- exercises/103_for4.zig 2025-08-15 15:17:57.839348063 +0200
|
||||
+++ answers/103_for4.zig 2026-04-02 10:51:15.801831460 +0200
|
||||
@@ -39,7 +39,7 @@
|
||||
const hex_nums = [_]u8{ 0xb, 0x2a, 0x77 };
|
||||
const dec_nums = [_]u8{ 11, 42, 119 };
|
||||
|
||||
- for (hex_nums, ???) |hn, ???| {
|
||||
+ for (hex_nums, dec_nums) |hn, dn| {
|
||||
if (hn != dn) {
|
||||
print("Uh oh! Found a mismatch: {d} vs {d}\n", .{ hn, dn });
|
||||
return;
|
||||
Reference in New Issue
Block a user