1 2 3 4 5 6
pub mod mod_in_file { pub fn my_func1() -> i32 { println!("运行 my_mod1.my_func1"); return 0; } }