summaryrefslogtreecommitdiff
path: root/patches
diff options
context:
space:
mode:
authorChris Boesch <chrboesch@noreply.codeberg.org>2025-01-09 15:27:12 +0000
committerChris Boesch <chrboesch@noreply.codeberg.org>2025-01-09 15:27:12 +0000
commitfabedb4a24e86548673dfed53fd8da261b0c6547 (patch)
treee8e593bed7889dbcafa1b161aa7ced4d4c6bb021 /patches
parentb1fcca9d82a6f95543a27a3bf820154be4944923 (diff)
parent6b29634279f2a82ee71159f49d93ceea19869e8d (diff)
Merge pull request 'Use print alias in exercise 100_for4.zig' (#198) from Zorgatone/ziglings-solutions:use-print-alias into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/198
Diffstat (limited to 'patches')
-rw-r--r--patches/patches/100_for4.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/patches/patches/100_for4.patch b/patches/patches/100_for4.patch
index 3539be2..ad73e9a 100644
--- a/patches/patches/100_for4.patch
+++ b/patches/patches/100_for4.patch
@@ -7,5 +7,5 @@
- for (hex_nums, ???) |hn, ???| {
+ for (hex_nums, dec_nums) |hn, dn| {
if (hn != dn) {
- std.debug.print("Uh oh! Found a mismatch: {d} vs {d}\n", .{ hn, dn });
+ print("Uh oh! Found a mismatch: {d} vs {d}\n", .{ hn, dn });
return;