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
Showing
想要评论请 注册 或 登录