Function near_syn::write_docs[][src]

pub fn write_docs<W: Write, F: Fn(String) -> String>(
    file: &mut W,
    attrs: &Vec<Attribute>,
    mapf: F
)

Writes Rust doc comments to file. Each line of doc is prefixed with prefix.