1 2 3 4 5
// 引入子模块 pub mod math; pub mod string_utils; // pub mod xxx; 会自动将 xxx.rs 的内容公开 // 如果你要隐藏某些函数,可以不要 pub fn