diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2018-06-02 23:36:35 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2018-06-04 09:51:41 +0200 |
| commit | f784d5ead29cad25c05e82e0beb9fb7586f5e462 (patch) | |
| tree | 04569f53e84fdb5900cdbc75b0a0715793df682f /src | |
| parent | 904f4921f888242b7ee277f443f39a06d3f4e1c3 (diff) | |
Remove useless function call for keyword generation in rustdoc
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustdoc/html/render.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/librustdoc/html/render.rs b/src/librustdoc/html/render.rs index 60178e6e7a4..5c2ec2058ee 100644 --- a/src/librustdoc/html/render.rs +++ b/src/librustdoc/html/render.rs @@ -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"; |
