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