From 9146a64386b0ae0c5f680fcca5e0cd08a8844e85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauren=C8=9Biu=20Nicola?= Date: Tue, 28 May 2019 21:27:54 +0300 Subject: Highlight type names correctly --- crates/ra_ide_api/src/snapshots/highlighting.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'crates/ra_ide_api/src/snapshots') diff --git a/crates/ra_ide_api/src/snapshots/highlighting.html b/crates/ra_ide_api/src/snapshots/highlighting.html index ebd187a35..2a32b3241 100644 --- a/crates/ra_ide_api/src/snapshots/highlighting.html +++ b/crates/ra_ide_api/src/snapshots/highlighting.html @@ -18,13 +18,14 @@ pre { color: #DCDCCC; background: #3F3F3F; font-size: 22px; padding: 0.4e .keyword\.control { color: #DC8CC3; }
#[derive(Clone, Debug)]
-struct Foo {
+struct Foo {
     pub x: i32,
     pub y: i32,
 }
 
-fn foo<T>() -> T {
+fn foo<T>() -> T {
     unimplemented!();
+    foo::<i32>();
 }
 
 // comment
-- 
cgit v1.2.3