diff options
| author | Mara Bos <m-ou.se@m-ou.se> | 2021-09-01 09:23:27 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-01 09:23:27 +0200 |
| commit | 75b2ae5ec50a3fb3cadd297b7d524935afa9faad (patch) | |
| tree | 835a4342d344767d76ee73efa87a5235be8442d8 /src/librustdoc/html/render | |
| parent | 494c563f3bd77501cad28732d9dac64d541ca84a (diff) | |
| parent | 87e39ac1ec0df8c45a4441cf6bb905d7fd282354 (diff) | |
| download | rust-75b2ae5ec50a3fb3cadd297b7d524935afa9faad.tar.gz rust-75b2ae5ec50a3fb3cadd297b7d524935afa9faad.zip | |
Rollup merge of #88410 - camelid:fix-assoc-bold, r=GuillaumeGomez
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/render')
| -rw-r--r-- | src/librustdoc/html/render/mod.rs | 2 |
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), |
