aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide/src/snapshots/highlight_injection.html
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_ide/src/snapshots/highlight_injection.html')
-rw-r--r--crates/ra_ide/src/snapshots/highlight_injection.html22
1 files changed, 11 insertions, 11 deletions
diff --git a/crates/ra_ide/src/snapshots/highlight_injection.html b/crates/ra_ide/src/snapshots/highlight_injection.html
index 4c3fa2a7b..bc19313d8 100644
--- a/crates/ra_ide/src/snapshots/highlight_injection.html
+++ b/crates/ra_ide/src/snapshots/highlight_injection.html
@@ -5,7 +5,7 @@ pre { color: #DCDCCC; background: #3F3F3F; font-size: 22px; padd
5 5
6.lifetime { color: #DFAF8F; font-style: italic; } 6.lifetime { color: #DFAF8F; font-style: italic; }
7.comment { color: #7F9F7F; } 7.comment { color: #7F9F7F; }
8.documentation { color: #00CC00; } 8.documentation { color: #629755; }
9.injected { opacity: 0.65 ; } 9.injected { opacity: 0.65 ; }
10.struct, .enum { color: #7CB8BB; } 10.struct, .enum { color: #7CB8BB; }
11.enum_variant { color: #BDE0F3; } 11.enum_variant { color: #BDE0F3; }
@@ -34,14 +34,14 @@ pre { color: #DCDCCC; background: #3F3F3F; font-size: 22px; padd
34.keyword.unsafe { color: #BC8383; font-weight: bold; } 34.keyword.unsafe { color: #BC8383; font-weight: bold; }
35.control { font-style: italic; } 35.control { font-style: italic; }
36</style> 36</style>
37<pre><code><span class="keyword">fn</span> <span class="function declaration">fixture</span>(<span class="variable declaration">ra_fixture</span>: &<span class="builtin_type">str</span>) {} 37<pre><code><span class="keyword">fn</span> <span class="function declaration">fixture</span><span class="punctuation">(</span><span class="variable declaration">ra_fixture</span><span class="punctuation">:</span> <span class="punctuation">&</span><span class="builtin_type">str</span><span class="punctuation">)</span> <span class="punctuation">{</span><span class="punctuation">}</span>
38 38
39<span class="keyword">fn</span> <span class="function declaration">main</span>() { 39<span class="keyword">fn</span> <span class="function declaration">main</span><span class="punctuation">(</span><span class="punctuation">)</span> <span class="punctuation">{</span>
40 <span class="function">fixture</span>(<span class="string_literal">r#"</span> 40 <span class="function">fixture</span><span class="punctuation">(</span><span class="string_literal">r#"</span>
41 <span class="keyword">trait</span> <span class="trait declaration">Foo</span> { 41 <span class="keyword">trait</span> <span class="trait declaration">Foo</span> <span class="punctuation">{</span>
42 <span class="keyword">fn</span> <span class="function declaration">foo</span>() { 42 <span class="keyword">fn</span> <span class="function declaration">foo</span><span class="punctuation">(</span><span class="punctuation">)</span> <span class="punctuation">{</span>
43 <span class="macro">println!</span>(<span class="string_literal">"2 + 2 = {}"</span>, <span class="numeric_literal">4</span>); 43 <span class="macro">println!</span><span class="punctuation">(</span><span class="string_literal">"2 + 2 = {}"</span><span class="punctuation">,</span> <span class="numeric_literal">4</span><span class="punctuation">)</span><span class="punctuation">;</span>
44 } 44 <span class="punctuation">}</span>
45 }<span class="string_literal">"#</span> 45 <span class="punctuation">}</span><span class="string_literal">"#</span>
46 ); 46 <span class="punctuation">)</span><span class="punctuation">;</span>
47}</code></pre> \ No newline at end of file 47<span class="punctuation">}</span></code></pre> \ No newline at end of file