doc-comment 0.3.1

Macro to generate doc comments


Write doc comments from macros.

Usage example

// Of course, we need to import the `doc_comment` macro:
extern crate doc_comment;

// If you want to test examples in your README file.

// If you want to document an item:
doc_comment!(concat!("fooo", "or not foo"), pub struct Foo {});

For more information, take a look at the documentation.