1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
//!第六章:函数、闭包和迭代器 //! /// # Examples /// /// Basic usage: /// /// ``` /// pub fn title(){ /// println!("第6章:{}", "函数、闭包和迭代器"); /// } /// title(); /// ``` pub fn title(){ println!("第6章:{}", "函数、闭包和迭代器"); } pub mod functions; pub mod closures; pub mod iters;