From cd7f571123fd9a3ca01c2fca3d66e20e6b6abd7a Mon Sep 17 00:00:00 2001 From: dxrkness Date: Fri, 16 Jan 2026 21:36:55 +0200 Subject: [PATCH] hello and goodbye functions --- src/main.rs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/main.rs b/src/main.rs index abd98a4..c36001f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,4 +1,13 @@ /// This is the best implementation of this program to ever exist. fn main() { + print_hello(); + print_goodbye(); +} + +fn print_hello() { println!("Hello, world!"); } + +fn print_goodbye() { + println!("Goodbye, world!"); +}