summaryrefslogtreecommitdiff
path: root/examples/helloWorld.nya
diff options
context:
space:
mode:
Diffstat (limited to 'examples/helloWorld.nya')
-rw-r--r--examples/helloWorld.nya5
1 files changed, 1 insertions, 4 deletions
diff --git a/examples/helloWorld.nya b/examples/helloWorld.nya
index 625860c..b8048db 100644
--- a/examples/helloWorld.nya
+++ b/examples/helloWorld.nya
@@ -1,8 +1,5 @@
import fn puts(str: [u8]) -> i32;
fn main() -> i32 {
- varbl: i32 pog = puts("Hello World!");
- pog = 8;
- const value = pog;
- return value;
+ return puts("Hello World!\n");
}