Skip to content

Commit fce944d

Browse files
committed
1 parent e7fc53b commit fce944d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/librustdoc/html/render.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1818,7 +1818,7 @@ fn item_module(w: &mut fmt::Formatter, cx: &Context,
18181818
write!(w, "
18191819
<tr class='{stab} module-item'>
18201820
<td><a class='{class}' href='{href}'
1821-
title='{title}'>{name}</a>{unsafety_flag}</td>
1821+
title='{title_type} {title}'>{name}</a>{unsafety_flag}</td>
18221822
<td class='docblock-short'>
18231823
{stab_docs} {docs}
18241824
</td>
@@ -1830,6 +1830,7 @@ fn item_module(w: &mut fmt::Formatter, cx: &Context,
18301830
stab = myitem.stability_class(),
18311831
unsafety_flag = unsafety_flag,
18321832
href = item_path(myitem.type_(), myitem.name.as_ref().unwrap()),
1833+
title_type = myitem.type_(),
18331834
title = full_path(cx, myitem))?;
18341835
}
18351836
}

0 commit comments

Comments
 (0)