From 1f87a4198956fd3a8b57d01c2bce19481fe2c610 Mon Sep 17 00:00:00 2001 From: Lukas Wirth Date: Sat, 21 Nov 2020 12:51:05 +0100 Subject: Add attribute highlight modifier to all tokens inside attributes --- crates/ide/src/syntax_highlighting/test_data/highlighting.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'crates/ide/src/syntax_highlighting/test_data/highlighting.html') diff --git a/crates/ide/src/syntax_highlighting/test_data/highlighting.html b/crates/ide/src/syntax_highlighting/test_data/highlighting.html index 6a10a9dcd..15fbf2ce3 100644 --- a/crates/ide/src/syntax_highlighting/test_data/highlighting.html +++ b/crates/ide/src/syntax_highlighting/test_data/highlighting.html @@ -40,18 +40,18 @@ pre { color: #DCDCCC; background: #3F3F3F; font-size: 22px; padd // Needed for function consuming vs normal pub mod marker { - #[lang = "copy"] + #[lang = "copy"] pub trait Copy {} } pub mod ops { - #[lang = "fn_once"] + #[lang = "fn_once"] pub trait FnOnce<Args> {} - #[lang = "fn_mut"] + #[lang = "fn_mut"] pub trait FnMut<Args>: FnOnce<Args> {} - #[lang = "fn"] + #[lang = "fn"] pub trait Fn<Args>: FnMut<Args> {} } @@ -85,7 +85,7 @@ pre { color: #DCDCCC; background: #3F3F3F; font-size: 22px; padd } } -#[derive(Copy)] +#[derive(Copy)] struct FooCopy { x: u32, } -- cgit v1.2.3