hello and goodbye functions
This commit is contained in:
@@ -1,4 +1,13 @@
|
|||||||
/// This is the best implementation of this program to ever exist.
|
/// This is the best implementation of this program to ever exist.
|
||||||
fn main() {
|
fn main() {
|
||||||
|
print_hello();
|
||||||
|
print_goodbye();
|
||||||
|
}
|
||||||
|
|
||||||
|
fn print_hello() {
|
||||||
println!("Hello, world!");
|
println!("Hello, world!");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fn print_goodbye() {
|
||||||
|
println!("Goodbye, world!");
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user