Annotate Theme::highlight with #[inline]
This commit is contained in:
parent
259678585c
commit
662ecf0cd4
1 changed files with 1 additions and 0 deletions
|
@ -132,6 +132,7 @@ impl<'de> Deserialize<'de> for Theme {
|
|||
}
|
||||
|
||||
impl Theme {
|
||||
#[inline]
|
||||
pub fn highlight(&self, index: usize) -> Style {
|
||||
self.highlights[index]
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue