diff options
author | Blaž Hrastnik | 2021-12-01 04:13:50 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2021-12-01 04:13:50 +0000 |
commit | 662ecf0cd439bc850eee37717ecb49eebf497a24 (patch) | |
tree | 1185c0996b5ea8a30c708799bf77a5f61604de54 | |
parent | 259678585c3410044683bf4d2619b2d024a04514 (diff) |
Annotate Theme::highlight with #[inline]
-rw-r--r-- | helix-view/src/theme.rs | 1 |
1 files changed, 1 insertions, 0 deletions
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] } |