mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-26 20:09:19 +00:00
slightly improve highlighting performance for derive annotated items
This commit is contained in:
parent
8ded3ec9cf
commit
464dd814ca
3 changed files with 13 additions and 12 deletions
|
@ -51,7 +51,4 @@ pre { color: #DCDCCC; background: #3F3F3F; font-size: 22px; padd
|
|||
<span class="keyword">where</span>
|
||||
<span class="lifetime">'a</span><span class="colon">:</span> <span class="lifetime">'a</span><span class="comma">,</span>
|
||||
<span class="lifetime">'static</span><span class="colon">:</span> <span class="lifetime">'static</span>
|
||||
<span class="brace">{</span>
|
||||
|
||||
<span class="brace">}</span>
|
||||
</code></pre>
|
||||
<span class="brace">{</span><span class="brace">}</span></code></pre>
|
|
@ -327,9 +327,7 @@ impl<'a> Foo<'_, 'a, 'static>
|
|||
where
|
||||
'a: 'a,
|
||||
'static: 'static
|
||||
{
|
||||
|
||||
}
|
||||
{}
|
||||
"#,
|
||||
expect_file!["./test_data/highlight_lifetimes.html"],
|
||||
false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue