mirror of
https://codeberg.org/ziglings/exercises.git
synced 2025-04-15 03:48:36 +01:00
Use print alias in exercise 100_for4.zig
This commit is contained in:
parent
468e3d7eed
commit
c2dcaf3099
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue