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
use roxygen::*;

#[roxygen]
/// this is documentation
/// and this is too
#[parameters_section]
/// this goes after the arguments section
fn foo(
    /// this has one line of docs
    bar: u32,
    /// this has
    /// two lines of docs
    baz: String,
    _undocumented: i32,
) -> bool {
    baz.len() > bar as usize
}