Merge pull request 'change io explanation' (#341) from std.Io into main

Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/341
This commit is contained in:
Chris Boesch 2025-12-30 13:52:40 +01:00
commit 8791b9440a
2 changed files with 4 additions and 4 deletions

View File

@ -5,7 +5,7 @@
// //
const std = @import("std"); const std = @import("std");
// Instance for input/output operations, we'll learn how to create them later. // Instance for input/output operations; we will learn more about this later.
const io = std.Options.debug_io; const io = std.Options.debug_io;
// Take note that this main() definition now returns "!void" rather // Take note that this main() definition now returns "!void" rather

View File

@ -1,6 +1,6 @@
--- exercises/026_hello2.zig 2025-12-28 01:51:16.537444980 +0100 --- exercises/026_hello2.zig 2025-12-30 13:39:29.478620712 +0100
+++ answers/026_hello2.zig 2025-12-28 01:51:10.280322328 +0100 +++ answers/026_hello2.zig 2025-12-30 13:39:18.948412943 +0100
@@ -27,5 +27,5 @@ @@ -28,5 +28,5 @@
// to be able to pass it up as a return value of main(). // to be able to pass it up as a return value of main().
// //
// We just learned of a single statement which can accomplish this. // We just learned of a single statement which can accomplish this.