1
Fork 0

Remove bolding on associated constants

Associated types don't get bolded, so it looks off to have one kind
bolded and one not.
This commit is contained in:
Noah Lev 2021-08-23 10:49:56 -07:00
parent dfd84729d6
commit 87e39ac1ec
2 changed files with 16 additions and 1 deletions

View file

@ -753,7 +753,7 @@ fn assoc_const(
) {
write!(
w,
"{}{}const <a href=\"{}\" class=\"constant\"><b>{}</b></a>: {}",
"{}{}const <a href=\"{}\" class=\"constant\">{}</a>: {}",
extra,
it.visibility.print_with_space(it.def_id, cx),
naive_assoc_href(it, link, cx),