Annotate Theme::highlight with #[inline]

pull/1218/head
Blaž Hrastnik 2021-12-01 13:13:50 +09:00
parent 259678585c
commit 662ecf0cd4
1 changed files with 1 additions and 0 deletions

View File

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