roxygen 1.0.4

Seamlessly document function parameters with rustdoc
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use roxygen::*;

#[roxygen]
/// here are some comments
/// and some more
#[parameters_section]
/// and some more
/// but this next argument section should not be here
#[parameters_section]
pub fn add(
    /// some comments
    first: i32,
    second: i32,
) -> i32 {
    first + second
}

pub fn main() {}