diff options
| author | Chris Boesch <chrboesch@noreply.codeberg.org> | 2023-05-06 15:29:22 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-06 15:29:22 +0200 |
| commit | f1368f4f812cce360e932a2b337f07aa0f11ef65 (patch) | |
| tree | a377aba55f6542ab83f8f44648fec9a439ed93a5 /exercises/001_hello.zig | |
| parent | 2027c6a403408f07640aa0fa22d6dc7d02da4134 (diff) | |
| parent | e5341b91c107894e585e515731d5ec34fd56c1af (diff) | |
Merge branch 'ratfactor:main' into testing
Diffstat (limited to 'exercises/001_hello.zig')
| -rw-r--r-- | exercises/001_hello.zig | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/exercises/001_hello.zig b/exercises/001_hello.zig index d2093c7..9534b60 100644 --- a/exercises/001_hello.zig +++ b/exercises/001_hello.zig @@ -1,18 +1,18 @@ // -// Oh no! This program is supposed to print "Hello world!" but it needs -// your help! +// Oh no, this is supposed to print "Hello world!" but it needs +// your help. // +// Zig functions are private by default but the main() function +// should be public. // -// Zig functions are private by default but the main() function should -// be public. -// -// A function is declared public with the "pub" statement like so: +// A function is made public with the "pub" statement like so: // // pub fn foo() void { // ... // } // -// Try to fix the program and run `ziglings` to see if it works! +// Perhaps knowing this well help solve the errors we're getting +// with this little program? // const std = @import("std"); |
