diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2017-10-01 12:40:30 -0400 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2017-10-01 12:40:30 -0400 |
| commit | 4bf149795acea088b349be89cb7992a6d413ad9f (patch) | |
| tree | 00d02e37ccf13cf54d291b8e0d9be99e28379d94 /example/hello_world/hello.zig | |
| parent | a2e6ada1c681123c8674f61b91862b5377f1dda1 (diff) | |
| download | zig-4bf149795acea088b349be89cb7992a6d413ad9f.tar.gz zig-4bf149795acea088b349be89cb7992a6d413ad9f.zip | |
update hello world examples
edge cases matter
See #510
Diffstat (limited to 'example/hello_world/hello.zig')
| -rw-r--r-- | example/hello_world/hello.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/example/hello_world/hello.zig b/example/hello_world/hello.zig index 03eab6ac56..d723ad284c 100644 --- a/example/hello_world/hello.zig +++ b/example/hello_world/hello.zig @@ -1,5 +1,5 @@ const io = @import("std").io; pub fn main() -> %void { - %%io.stdout.printf("Hello, world!\n"); + %return io.stdout.printf("Hello, world!\n"); } |
