98606cfe12
rustdoc: hide macro export statements from docs As mentioned in https://github.com/rust-lang/rust/issues/50647, rustdoc now prints both the import statement and the macro itself when re-exporting macros. This is a stopgap solution to clean up the std docs and get something small backported into beta. What this does: When rustdoc finds an export statement for a macro, instead of printing the export and bailing, now it will instead hide the export and bail. Until we can solve https://github.com/rust-lang/rust/issues/34843 or have a better way to find the attributes on an export statement when inlining macros, this will at least match the current behavior and clean up the re-export statements from the docs. |
||
---|---|---|
.. | ||
clean | ||
html | ||
passes | ||
Cargo.toml | ||
README.md | ||
core.rs | ||
doctree.rs | ||
externalfiles.rs | ||
fold.rs | ||
lib.rs | ||
markdown.rs | ||
plugins.rs | ||
test.rs | ||
theme.rs | ||
visit_ast.rs | ||
visit_lib.rs |
README.md
For more information about how librustdoc
works, see the rustc guide.