We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e3b1be3 commit 7e218bbCopy full SHA for 7e218bb
src/librustdoc/clean/mod.rs
@@ -2232,12 +2232,6 @@ impl Clean<Vec<Item>> for doctree::ExternCrate<'_> {
2232
2233
impl Clean<Vec<Item>> for doctree::Import<'_> {
2234
fn clean(&self, cx: &DocContext<'_>) -> Vec<Item> {
2235
- // We need this comparison because some imports (for std types for example)
2236
- // are "inserted" as well but directly by the compiler and they should not be
2237
- // taken into account.
2238
- if self.span.is_dummy() {
2239
- return Vec::new();
2240
- }
2241
// We consider inlining the documentation of `pub use` statements, but we
2242
// forcefully don't inline if this is not public or if the
2243
// #[doc(no_inline)] attribute is present.
0 commit comments