Annotate Theme::highlight with #[inline]

pull/1218/head
Blaž Hrastnik 3 years ago
parent 259678585c
commit 662ecf0cd4

@ -132,6 +132,7 @@ impl<'de> Deserialize<'de> for Theme {
} }
impl Theme { impl Theme {
#[inline]
pub fn highlight(&self, index: usize) -> Style { pub fn highlight(&self, index: usize) -> Style {
self.highlights[index] self.highlights[index]
} }

Loading…
Cancel
Save