summaryrefslogtreecommitdiff
path: root/exercises/100_for4.zig
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 /exercises/100_for4.zig
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 'exercises/100_for4.zig')
-rw-r--r--exercises/100_for4.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/exercises/100_for4.zig b/exercises/100_for4.zig
index e0fa602..c8a1161 100644
--- a/exercises/100_for4.zig
+++ b/exercises/100_for4.zig
@@ -41,12 +41,12 @@ pub fn main() void {
for (hex_nums, ???) |hn, ???| {
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;
}
}
- std.debug.print("Arrays match!\n", .{});
+ print("Arrays match!\n", .{});
}
//
// You are perhaps wondering what happens if one of the two lists