about summary refs log tree commit diff
path: root/src/librustdoc/html
diff options
context:
space:
mode:
authorNoah Lev <camelidcamel@gmail.com>2021-08-23 10:49:56 -0700
committerNoah Lev <camelidcamel@gmail.com>2021-08-31 09:53:21 -0700
commit87e39ac1ec0df8c45a4441cf6bb905d7fd282354 (patch)
tree9dafc8845d13ec4b2a8bbd6c48c7c621c96e7655 /src/librustdoc/html
parentdfd84729d6b7060edcb66694e6e44aae9e2ac57d (diff)
downloadrust-87e39ac1ec0df8c45a4441cf6bb905d7fd282354.tar.gz
rust-87e39ac1ec0df8c45a4441cf6bb905d7fd282354.zip
Remove bolding on associated constants
Associated types don't get bolded, so it looks off to have one kind
bolded and one not.
Diffstat (limited to 'src/librustdoc/html')
-rw-r--r--src/librustdoc/html/render/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/html/render/mod.rs b/src/librustdoc/html/render/mod.rs
index 7704abc9a72..620b4cdf9da 100644
--- a/src/librustdoc/html/render/mod.rs
+++ b/src/librustdoc/html/render/mod.rs
@@ -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),