Rust hello world function



examples/functions/hello-world/src/main.rs
fn main() {
    greet();
}

fn greet() {
    println!("Hello World!");
}