aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src/snapshots/highlighting.html
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_ide_api/src/snapshots/highlighting.html')
-rw-r--r--crates/ra_ide_api/src/snapshots/highlighting.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/crates/ra_ide_api/src/snapshots/highlighting.html b/crates/ra_ide_api/src/snapshots/highlighting.html
index 2a32b3241..d79d35bf3 100644
--- a/crates/ra_ide_api/src/snapshots/highlighting.html
+++ b/crates/ra_ide_api/src/snapshots/highlighting.html
@@ -19,13 +19,13 @@ pre { color: #DCDCCC; background: #3F3F3F; font-size: 22px; padding: 0.4e
19</style> 19</style>
20<pre><code><span class="attribute">#</span><span class="attribute">[</span><span class="attribute">derive</span><span class="attribute">(</span><span class="attribute">Clone</span><span class="attribute">,</span><span class="attribute"> </span><span class="attribute">Debug</span><span class="attribute">)</span><span class="attribute">]</span> 20<pre><code><span class="attribute">#</span><span class="attribute">[</span><span class="attribute">derive</span><span class="attribute">(</span><span class="attribute">Clone</span><span class="attribute">,</span><span class="attribute"> </span><span class="attribute">Debug</span><span class="attribute">)</span><span class="attribute">]</span>
21<span class="keyword">struct</span> <span class="type">Foo</span> { 21<span class="keyword">struct</span> <span class="type">Foo</span> {
22 <span class="keyword">pub</span> <span class="function">x</span>: <span class="text">i32</span>, 22 <span class="keyword">pub</span> <span class="function">x</span>: <span class="type">i32</span>,
23 <span class="keyword">pub</span> <span class="function">y</span>: <span class="text">i32</span>, 23 <span class="keyword">pub</span> <span class="function">y</span>: <span class="type">i32</span>,
24} 24}
25 25
26<span class="keyword">fn</span> <span class="function">foo</span>&lt;<span class="type type">T</span>&gt;() -&gt; <span class="type">T</span> { 26<span class="keyword">fn</span> <span class="function">foo</span>&lt;<span class="type">T</span>&gt;() -&gt; <span class="type">T</span> {
27 <span class="macro">unimplemented</span><span class="macro">!</span>(); 27 <span class="macro">unimplemented</span><span class="macro">!</span>();
28 <span class="function">foo</span>::&lt;<span class="type text">i32</span>&gt;(); 28 <span class="function">foo</span>::&lt;<span class="type">i32</span>&gt;();
29} 29}
30 30
31<span class="comment">// comment</span> 31<span class="comment">// comment</span>