Update snapshots of rustdoc tests to take into account the comment highlighting
This commit is contained in:
parent
768a614380
commit
06695ea436
4 changed files with 5 additions and 5 deletions
|
@ -1,3 +1,3 @@
|
|||
<pre class="rust item-decl"><code>pub struct Simd<T>(/* private fields */)
|
||||
<pre class="rust item-decl"><code>pub struct Simd<T>(<span class="comment">/* private fields */</span>)
|
||||
<span class="where">where
|
||||
T: <a class="trait" href="trait.MyTrait.html" title="trait foo::MyTrait">MyTrait</a></span>;</code></pre>
|
||||
T: <a class="trait" href="trait.MyTrait.html" title="trait foo::MyTrait">MyTrait</a></span>;</code></pre>
|
|
@ -1,3 +1,3 @@
|
|||
<code>pub struct Alpha<A>(/* private fields */)
|
||||
<code>pub struct Alpha<A>(<span class="comment">/* private fields */</span>)
|
||||
<span class="where">where
|
||||
A: <a class="trait" href="trait.MyTrait.html" title="trait foo::MyTrait">MyTrait</a></span>;</code>
|
|
@ -1,4 +1,4 @@
|
|||
<pre class="rust item-decl"><code>pub union Union<'a, B><div class="where">where
|
||||
B: <a class="trait" href="trait.ToOwned.html" title="trait foo::ToOwned">ToOwned</a><<a class="primitive" href="{{channel}}/std/primitive.unit.html">()</a>> + ?<a class="trait" href="{{channel}}/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a> + 'a,</div>{
|
||||
/* private fields */
|
||||
<span class="comment">/* private fields */</span>
|
||||
}</code></pre>
|
|
@ -1,3 +1,3 @@
|
|||
<pre class="rust item-decl"><code>pub union Union2<'a, B: ?<a class="trait" href="{{channel}}/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a> + <a class="trait" href="trait.ToOwned.html" title="trait foo::ToOwned">ToOwned</a><<a class="primitive" href="{{channel}}/std/primitive.unit.html">()</a>> + 'a> {
|
||||
/* private fields */
|
||||
<span class="comment">/* private fields */</span>
|
||||
}</code></pre>
|
Loading…
Add table
Reference in a new issue