026_hello2.patch 380 B

123456789
  1. --- exercises/026_hello2.zig 2023-10-03 22:15:22.122241138 +0200
  2. +++ answers/026_hello2.zig 2023-10-05 20:04:06.959431737 +0200
  3. @@ -23,5 +23,5 @@
  4. // to be able to pass it up as a return value of main().
  5. //
  6. // We just learned of a single statement which can accomplish this.
  7. - stdout.print("Hello world!\n", .{});
  8. + try stdout.print("Hello world!\n", .{});
  9. }