exercises/patches/patches/001_hello.patch

10 lines
267 B
Diff

--- exercises/001_hello.zig 2023-10-03 22:15:22.122241138 +0200
+++ answers/001_hello.zig 2023-10-05 20:04:06.846096282 +0200
@@ -16,6 +16,6 @@
//
const std = @import("std");
-fn main() void {
+pub fn main() void {
std.debug.print("Hello world!\n", .{});
}