mirror of
https://codeberg.org/ziglings/exercises.git
synced 2026-04-03 16:34:52 +00:00
10 lines
380 B
Diff
10 lines
380 B
Diff
--- 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.print("Hello world!\n", .{});
|
|
+ try stdout.print("Hello world!\n", .{});
|
|
}
|