diff options
| author | Guillaume Gomez <guillaume.gomez@huawei.com> | 2021-07-08 17:49:06 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume.gomez@huawei.com> | 2021-07-08 17:49:06 +0200 |
| commit | 1f84bffdf0eec32da9c9546504f620a7a4ee374f (patch) | |
| tree | 72a1f9260f1a2a879df910842fcc3ecde4f6a2b1 /src/librustdoc/html/render | |
| parent | ac8c3bfffb2829d0af075a5d4020fb7e9e86c3a2 (diff) | |
| download | rust-1f84bffdf0eec32da9c9546504f620a7a4ee374f.tar.gz rust-1f84bffdf0eec32da9c9546504f620a7a4ee374f.zip | |
Fix display of small-section-header elements
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 97ee682c11c..56d50cb4079 100644 --- a/src/librustdoc/html/render/mod.rs +++ b/src/librustdoc/html/render/mod.rs @@ -1027,7 +1027,7 @@ fn render_assoc_items( write!( w, "<h2 id=\"deref-methods\" class=\"small-section-header\">\ - Methods from {trait_}<Target = {type_}>\ + <span>Methods from {trait_}<Target = {type_}></span>\ <a href=\"#deref-methods\" class=\"anchor\"></a>\ </h2>", trait_ = trait_.print(cx), |
