diff options
| author | Chris Boesch <chrboesch@noreply.codeberg.org> | 2025-12-28 01:55:06 +0100 |
|---|---|---|
| committer | Chris Boesch <chrboesch@noreply.codeberg.org> | 2025-12-28 01:55:06 +0100 |
| commit | b33fd5a7448619ce37ff1fd78d0a4fba7661b6ff (patch) | |
| tree | 066050dc000e96530b3c49579945c7a22f5bb90a /patches | |
| parent | 21f86f07adf544850a7ef5f913c01117c04db147 (diff) | |
exc. 26 migrated
Diffstat (limited to 'patches')
| -rw-r--r-- | patches/patches/026_hello2.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/patches/patches/026_hello2.patch b/patches/patches/026_hello2.patch index 7fde1d8..e35de35 100644 --- a/patches/patches/026_hello2.patch +++ b/patches/patches/026_hello2.patch @@ -1,9 +1,9 @@ ---- exercises/026_hello2.zig 2025-12-27 21:15:21.403899392 +0100 -+++ answers/026_hello2.zig 2025-12-27 20:28:53.267236800 +0100 +--- 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.interface.print("Hello world!\n", .{}); -+ try stdout.interface.print("Hello world!\n", .{}); +- stdout.print("Hello world!\n", .{}); ++ try stdout.print("Hello world!\n", .{}); } |
