mirror of
https://codeberg.org/ziglings/exercises.git
synced 2026-06-08 07:50:00 +00:00
exc. 26 migrated
This commit is contained in:
@@ -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", .{});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user