exc. 26 migrated

This commit is contained in:
Chris Boesch
2025-12-28 01:55:06 +01:00
parent 21f86f07ad
commit b33fd5a744
2 changed files with 11 additions and 11 deletions

View File

@@ -1,9 +1,9 @@
--- exercises/026_hello2.zig 2025-12-27 21:15:21.403899392 +0100
+++ answers/026_hello2.zig 2025-12-27 20:28:53.267236800 +0100
--- 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 @@
// to be able to pass it up as a return value of main().
//
// We just learned of a single statement which can accomplish this.
- stdout.interface.print("Hello world!\n", .{});
+ try stdout.interface.print("Hello world!\n", .{});
- stdout.print("Hello world!\n", .{});
+ try stdout.print("Hello world!\n", .{});
}