rust/library/core
bors d795eb4b10 Auto merge of #75855 - jyn514:no-cfg-doc, r=ollie27
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
2020-08-24 06:05:00 +00:00
..
benches
src Auto merge of #75855 - jyn514:no-cfg-doc, r=ollie27 2020-08-24 06:05:00 +00:00
tests Auto merge of #75694 - RalfJung:miri-align-to, r=nagisa 2020-08-21 15:40:48 +00:00
Cargo.toml