1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
use roxygen::*; /// here are some comments /// this arguments section should not be here #[parameters_section] /// and some more #[roxygen] pub fn add( /// some comments first: i32, second: i32, ) -> i32 { first + second } pub fn main() {}