about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMukund Lakshman <yaymukund@gmail.com>2021-10-04 20:49:07 -0400
committerMukund Lakshman <yaymukund@gmail.com>2021-10-04 20:49:21 -0400
commit4a6aa6e4063a8ecd9810c04a5dae9e8ff2f664d6 (patch)
tree8b4ffd56c3363473593cc72abbe81a35be6d2c90
parenta8a40ea9a4947a7b46421564517ee2aa4e3711f0 (diff)
downloadrust-4a6aa6e4063a8ecd9810c04a5dae9e8ff2f664d6.tar.gz
rust-4a6aa6e4063a8ecd9810c04a5dae9e8ff2f664d6.zip
Fix heading for methods on trait impls.
-rw-r--r--src/librustdoc/html/render/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/html/render/mod.rs b/src/librustdoc/html/render/mod.rs
index 69f39bb58a8..532dce99c0d 100644
--- a/src/librustdoc/html/render/mod.rs
+++ b/src/librustdoc/html/render/mod.rs
@@ -1344,7 +1344,7 @@ fn render_impl(
                         // because impls can't have a stability.
                         if item.doc_value().is_some() {
                             document_item_info(&mut info_buffer, cx, it, Some(parent));
-                            document_full(&mut doc_buffer, item, cx, 0);
+                            document_full(&mut doc_buffer, item, cx, 3);
                             short_documented = false;
                         } else {
                             // In case the item isn't documented,