Improve highlighting test

This commit is contained in:
Aleksey Kladov 2019-12-20 14:10:31 +01:00
parent a2ce8ab275
commit d057afb945
3 changed files with 7 additions and 2 deletions

View file

@ -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); }