Fix rustdoc

This commit is contained in:
leonardo.yvens 2017-12-04 08:07:01 -02:00 committed by Vadim Petrochenkov
parent 3bb2ff05eb
commit 9ccd3ac178
2 changed files with 0 additions and 2 deletions

View File

@ -480,7 +480,6 @@ impl Clean<Item> for doctree::Module {
items.extend(self.traits.iter().map(|x| x.clean(cx))); items.extend(self.traits.iter().map(|x| x.clean(cx)));
items.extend(self.impls.iter().flat_map(|x| x.clean(cx))); items.extend(self.impls.iter().flat_map(|x| x.clean(cx)));
items.extend(self.macros.iter().map(|x| x.clean(cx))); items.extend(self.macros.iter().map(|x| x.clean(cx)));
items.extend(self.def_traits.iter().map(|x| x.clean(cx)));
// determine if we should display the inner contents or // determine if we should display the inner contents or
// the outer `mod` item for the source code. // the outer `mod` item for the source code.

View File

@ -72,7 +72,6 @@ impl Module {
constants : Vec::new(), constants : Vec::new(),
traits : Vec::new(), traits : Vec::new(),
impls : Vec::new(), impls : Vec::new(),
def_traits : Vec::new(),
foreigns : Vec::new(), foreigns : Vec::new(),
macros : Vec::new(), macros : Vec::new(),
is_crate : false, is_crate : false,