Fix heading for methods on trait impls.
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user