exercises/patches/patches/026_hello2.patch
2025-12-28 01:55:06 +01:00

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