diff options
| author | Michael Howell <michael@notriddle.com> | 2023-01-23 17:10:54 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2023-01-23 17:32:22 -0700 |
| commit | e65b36110f943118b7e50c4e39e26ad1f07d8552 (patch) | |
| tree | c5599d1c06b8805f09b94973add4d00b41f712f8 /tests/rustdoc/whitespace-after-where-clause.struct.html | |
| parent | c8e6a9e8b6251bbc8276cb78cabe1998deecbed7 (diff) | |
| download | rust-e65b36110f943118b7e50c4e39e26ad1f07d8552.tar.gz rust-e65b36110f943118b7e50c4e39e26ad1f07d8552.zip | |
rustdoc: rearrange HTML in primitive reference links
This patch avoids hard-to-click single character links by making the generic part of the link: Before: <a href="#">&</a>T After: <a href="#">&T</a>
Diffstat (limited to 'tests/rustdoc/whitespace-after-where-clause.struct.html')
| -rw-r--r-- | tests/rustdoc/whitespace-after-where-clause.struct.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rustdoc/whitespace-after-where-clause.struct.html b/tests/rustdoc/whitespace-after-where-clause.struct.html index f375265d7c1..5892270b2f9 100644 --- a/tests/rustdoc/whitespace-after-where-clause.struct.html +++ b/tests/rustdoc/whitespace-after-where-clause.struct.html @@ -1,4 +1,4 @@ <div class="item-decl"><pre class="rust"><code>pub struct Struct<'a, B><span class="where fmt-newline">where<br />    B: <a class="trait" href="trait.ToOwned.html" title="trait foo::ToOwned">ToOwned</a><dyn <a class="trait" href="{{channel}}/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>> + ?<a class="trait" href="{{channel}}/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a> + 'a,</span>{ - pub a: <a class="primitive" href="{{channel}}/std/primitive.reference.html">&'a </a>B, + pub a: <a class="primitive" href="{{channel}}/std/primitive.reference.html">&'a B</a>, pub b: <a class="primitive" href="{{channel}}/std/primitive.u32.html">u32</a>, }</code></pre></div> \ No newline at end of file |
