macro_rules! doc {
($($expr:expr)*; $x:item) => { ... };
($($expr:expr),*; $x:item) => { ... };
}Expand description
This macro is used to generate documentation upon an item.
ยงExamples
#[macro_use]
extern crate docgen;
doc!(
"Here is the documentation!"
""
"Tah dah!";
#[inline]
pub fn foo() {}
);