Skip to main content

documented

Function documented 

fn documented<'a, T>(
    item: T,
    doc: Option<&'a Doc>,
    with_doc: fn(T, &'a Doc) -> T,
) -> T
Available on crate feature parse only.
Expand description

Applies with_doc to item if there is a doc comment.