doc-comment
Write doc comments from macros.
Usage example
extern crate doc_comment;
// If you want to test examples in your README file.
doctest!;
// If you want to "name" your tests.
doctest!;
// If you want to test your README file ONLY on "cargo test":
doctest!;
// If you want to document an item:
proc-macro
From the version 0.4
, this crate will use proc-macro
instead of macros
, meaning that the minimum rust version will also greatly increase. If you don't want the proc-macro
then use the 0.3.*
versions!
For more information, take a look at the documentation.