Skip to content

Commit f784d5e

Browse files
Remove useless function call for keyword generation in rustdoc
1 parent 904f492 commit f784d5e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/librustdoc/html/render.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -4452,8 +4452,7 @@ fn item_primitive(w: &mut fmt::Formatter, cx: &Context,
44524452
fn item_keyword(w: &mut fmt::Formatter, cx: &Context,
44534453
it: &clean::Item,
44544454
_p: &str) -> fmt::Result {
4455-
document(w, cx, it)?;
4456-
render_assoc_items(w, cx, it, it.def_id, AssocItemRender::All)
4455+
document(w, cx, it)
44574456
}
44584457

44594458
const BASIC_KEYWORDS: &'static str = "rust, rustlang, rust-lang";

0 commit comments

Comments
 (0)