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
use roxygen::*;
/// this is documentation
/// and this is too
///
/// **Parameters**:
///
/// * `bar`: this has one line of docs
/// * `baz`: this has
///    two lines of docs
///
/// this goes after the arguments section
fn foo(bar: u32, baz: String, _undocumented: i32) -> bool {
    baz.len() > bar as usize
}