rustdoc: Show macros in documentation

Any macro tagged with #[macro_export] will be showed in the documentation for
that module. This also documents all the existing macros inside of std::macros.

Closes #3163
cc #5605
Closes #9954
This commit is contained in:
Alex Crichton
2014-02-16 21:40:26 -08:00
parent f0cb0ebc66
commit 867988c1dc
7 changed files with 226 additions and 5 deletions

View File

@@ -77,7 +77,7 @@
#[cfg(test)] pub use ops = realstd::ops;
#[cfg(test)] pub use cmp = realstd::cmp;
mod macros;
pub mod macros;
mod rtdeps;