hello and goodbye functions

This commit is contained in:
2026-01-16 21:36:55 +02:00
parent 17a866c4f3
commit cd7f571123
+9
View File
@@ -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!");
}