diff --git a/examples/program/main.nub b/examples/program/main.nub index 0c14aee..983ee25 100644 --- a/examples/program/main.nub +++ b/examples/program/main.nub @@ -17,14 +17,12 @@ func main(): i32 { let message = getMessage() match message { - Quit - { + Quit { core::println("quit") } - Say msg - { + Say msg { core::println(msg) - } + } } return 0