aboutsummaryrefslogtreecommitdiff
path: root/example/hello_world/hello.zig
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2017-10-01 12:40:30 -0400
committerAndrew Kelley <superjoe30@gmail.com>2017-10-01 12:40:30 -0400
commit4bf149795acea088b349be89cb7992a6d413ad9f (patch)
tree00d02e37ccf13cf54d291b8e0d9be99e28379d94 /example/hello_world/hello.zig
parenta2e6ada1c681123c8674f61b91862b5377f1dda1 (diff)
downloadzig-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.zig2
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");
}