提交 131d4ed0 编写于 作者: K Kang Seonghoon

rustdoc: Fixed a missing rendering of ForeignStaticItems.

上级 3a325c66
...@@ -1435,7 +1435,8 @@ fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result { ...@@ -1435,7 +1435,8 @@ fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result {
clean::TypedefItem(ref t) => item_typedef(fmt, self.item, t), clean::TypedefItem(ref t) => item_typedef(fmt, self.item, t),
clean::MacroItem(ref m) => item_macro(fmt, self.item, m), clean::MacroItem(ref m) => item_macro(fmt, self.item, m),
clean::PrimitiveItem(ref p) => item_primitive(fmt, self.item, p), clean::PrimitiveItem(ref p) => item_primitive(fmt, self.item, p),
clean::StaticItem(ref i) => item_static(fmt, self.item, i), clean::StaticItem(ref i) | clean::ForeignStaticItem(ref i) =>
item_static(fmt, self.item, i),
clean::ConstantItem(ref c) => item_constant(fmt, self.item, c), clean::ConstantItem(ref c) => item_constant(fmt, self.item, c),
_ => Ok(()) _ => Ok(())
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册