mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 13:25:09 +00:00
Improve highlighting test
This commit is contained in:
parent
a2ce8ab275
commit
d057afb945
3 changed files with 7 additions and 2 deletions
|
@ -282,6 +282,7 @@ pre { color: #DCDCCC; background: #3F3F3F; font-size: 22px; padd
|
|||
|
||||
.comment { color: #7F9F7F; }
|
||||
.string { color: #CC9393; }
|
||||
.field { color: #94BFF3; }
|
||||
.function { color: #93E0E3; }
|
||||
.parameter { color: #94BFF3; }
|
||||
.text { color: #DCDCCC; }
|
||||
|
@ -327,7 +328,8 @@ fn main() {
|
|||
|
||||
let mut vec = Vec::new();
|
||||
if true {
|
||||
vec.push(Foo { x: 0, y: 1 });
|
||||
let x = 92;
|
||||
vec.push(Foo { x, y: 1 });
|
||||
}
|
||||
unsafe { vec.set_len(0); }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue