Skip to content

Commit

Permalink
rustdoc: Fixed a missing rendering of ForeignStaticItems.
Browse files Browse the repository at this point in the history
  • Loading branch information
lifthrasiir committed Dec 3, 2014
1 parent 3a325c6 commit 131d4ed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/librustdoc/html/render.rs
Expand Up @@ -1435,7 +1435,8 @@ impl<'a> fmt::Show for Item<'a> {
clean::TypedefItem(ref t) => item_typedef(fmt, self.item, t),
clean::MacroItem(ref m) => item_macro(fmt, self.item, m),
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),
_ => Ok(())
}
Expand Down

0 comments on commit 131d4ed

Please sign in to comment.