about summary refs log tree commit diff
path: root/src/librustdoc/html/render
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2021-05-05 14:19:51 +0200
committerGuillaume Gomez <guillaume.gomez@huawei.com>2021-08-05 23:08:28 +0200
commitdffc9c0a79bcf06a3abe6746056746bb11125b6a (patch)
tree328932614d10f3089adee4376530a8b69af628ce /src/librustdoc/html/render
parente8869cb7a7e760f39088190a724991726cd05c50 (diff)
downloadrust-dffc9c0a79bcf06a3abe6746056746bb11125b6a.tar.gz
rust-dffc9c0a79bcf06a3abe6746056746bb11125b6a.zip
Move extra arguments for highlight URL generation into a new ContextInfo struct for better readability
Diffstat (limited to 'src/librustdoc/html/render')
-rw-r--r--src/librustdoc/html/render/print_item.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/librustdoc/html/render/print_item.rs b/src/librustdoc/html/render/print_item.rs
index 7b6bd4dd597..f31305c76e6 100644
--- a/src/librustdoc/html/render/print_item.rs
+++ b/src/librustdoc/html/render/print_item.rs
@@ -1081,9 +1081,7 @@ fn item_macro(w: &mut Buffer, cx: &Context<'_>, it: &clean::Item, t: &clean::Mac
             None,
             it.span(cx.tcx()).inner().edition(),
             None,
-            0,
             None,
-            "",
         );
     });
     document(w, cx, it, None)