Function in the main.rs file



examples/modules/function-in-main/src/main.rs
fn main() {
    println!("main");
    in_main();
}

fn in_main() {
    println!("in_main");
}

main
in_main