Skip to content

Commit 7468af8

Browse files
Add missing "Aliased type" title in the sidebar
1 parent 5d62ab8 commit 7468af8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/librustdoc/html/render/sidebar.rs

+1
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,7 @@ fn sidebar_type_alias<'a>(
237237
) -> Vec<LinkBlock<'a>> {
238238
let mut items = vec![];
239239
if let Some(inner_type) = &t.inner_type {
240+
items.push(LinkBlock::forced(Link::new("aliased-type", "Aliased type")));
240241
match inner_type {
241242
clean::TypeAliasInnerType::Enum { variants, is_non_exhaustive: _ } => {
242243
let mut variants = variants

0 commit comments

Comments
 (0)