From 8000d1d30d0c6205585b12331124745aaf21c340 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Wed, 19 Aug 2020 20:02:33 +0200 Subject: Don't underline function definition if self is &mut The self is right there, and is already underlined, so it makes little sense to emit even more underlines. --- crates/ide/test_data/highlighting.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crates/ide/test_data') diff --git a/crates/ide/test_data/highlighting.html b/crates/ide/test_data/highlighting.html index a6b79589b..d0df2e0ec 100644 --- a/crates/ide/test_data/highlighting.html +++ b/crates/ide/test_data/highlighting.html @@ -65,7 +65,7 @@ pre { color: #DCDCCC; background: #3F3F3F; font-size: 22px; padd self.x } - fn qux(&mut self) { + fn qux(&mut self) { self.x = 0; } @@ -84,7 +84,7 @@ pre { color: #DCDCCC; background: #3F3F3F; font-size: 22px; padd self.x } - fn qux(&mut self) { + fn qux(&mut self) { self.x = 0; } -- cgit v1.2.3