Remove useless function call for keyword generation in rustdoc

This commit is contained in:
Guillaume Gomez 2018-06-02 23:36:35 +02:00
parent 904f4921f8
commit f784d5ead2
1 changed files with 1 additions and 2 deletions

View File

@ -4452,8 +4452,7 @@ fn item_primitive(w: &mut fmt::Formatter, cx: &Context,
fn item_keyword(w: &mut fmt::Formatter, cx: &Context,
it: &clean::Item,
_p: &str) -> fmt::Result {
document(w, cx, it)?;
render_assoc_items(w, cx, it, it.def_id, AssocItemRender::All)
document(w, cx, it)
}
const BASIC_KEYWORDS: &'static str = "rust, rustlang, rust-lang";