提交 9ccd3ac1 编写于 作者: L leonardo.yvens 提交者: Vadim Petrochenkov

Fix rustdoc

上级 3bb2ff05
......@@ -480,7 +480,6 @@ fn clean(&self, cx: &DocContext) -> Item {
items.extend(self.traits.iter().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.def_traits.iter().map(|x| x.clean(cx)));
// determine if we should display the inner contents or
// the outer `mod` item for the source code.
......
......@@ -72,7 +72,6 @@ pub fn new(name: Option<Name>) -> Module {
constants : Vec::new(),
traits : Vec::new(),
impls : Vec::new(),
def_traits : Vec::new(),
foreigns : Vec::new(),
macros : Vec::new(),
is_crate : false,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册