exercises/patches/patches/026_hello2.patch
2025-12-30 13:40:24 +01:00

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", .{});
}