From 662ecf0cd439bc850eee37717ecb49eebf497a24 Mon Sep 17 00:00:00 2001 From: Blaž Hrastnik Date: Wed, 1 Dec 2021 13:13:50 +0900 Subject: Annotate Theme::highlight with #[inline] --- helix-view/src/theme.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/helix-view/src/theme.rs b/helix-view/src/theme.rs index 2366ff7d..47fc6262 100644 --- a/helix-view/src/theme.rs +++ b/helix-view/src/theme.rs @@ -132,6 +132,7 @@ impl<'de> Deserialize<'de> for Theme { } impl Theme { + #[inline] pub fn highlight(&self, index: usize) -> Style { self.highlights[index] } -- cgit v1.2.3-70-g09d2