Fix heading for methods on trait impls.
This commit is contained in:
parent
a8a40ea9a4
commit
4a6aa6e406
1 changed files with 1 additions and 1 deletions
|
@ -1344,7 +1344,7 @@ fn render_impl(
|
||||||
// because impls can't have a stability.
|
// because impls can't have a stability.
|
||||||
if item.doc_value().is_some() {
|
if item.doc_value().is_some() {
|
||||||
document_item_info(&mut info_buffer, cx, it, Some(parent));
|
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;
|
short_documented = false;
|
||||||
} else {
|
} else {
|
||||||
// In case the item isn't documented,
|
// In case the item isn't documented,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue