d795eb4b10
Use allow(unused_imports) instead of cfg(doc) for imports used only for intra-doc links This prevents links from breaking when items are re-exported in a different crate and the original isn't being documented. Spotted in https://github.com/rust-lang/rust/pull/75832#discussion_r475275837 (thanks ollie!) r? @ollie27 |
||
---|---|---|
.. | ||
benches | ||
src | ||
tests | ||
Cargo.toml |