change io explanation

This commit is contained in:
Chris Boesch 2025-12-30 13:40:24 +01:00
parent 4927ef6a26
commit af2a30e6da
No known key found for this signature in database
GPG Key ID: 8712DF4D3E364668
2 changed files with 4 additions and 4 deletions

View File

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