We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eca3c55 commit 1a62b17Copy full SHA for 1a62b17
src/librustdoc/clean/mod.rs
@@ -476,6 +476,7 @@ impl Clean<Item> for doctree::Module {
476
// we could also pass this down through clean()
477
// but that might complicate things.
478
cx.mod_ids.borrow_mut().push(self.id);
479
+ let attrs = self.attrs.clean(cx);
480
481
let mut items: Vec<Item> = vec![];
482
items.extend(self.extern_crates.iter().map(|x| x.clean(cx)));
@@ -512,7 +513,7 @@ impl Clean<Item> for doctree::Module {
512
513
514
Item {
515
name: Some(name),
- attrs: self.attrs.clean(cx),
516
+ attrs,
517
source: whence.clean(cx),
518
visibility: self.vis.clean(cx),
519
stability: self.stab.clean(cx),
0 commit comments