Annotate Theme::highlight with #[inline]
This commit is contained in:
parent
259678585c
commit
662ecf0cd4
@ -132,6 +132,7 @@ fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
|
||||
}
|
||||
|
||||
impl Theme {
|
||||
#[inline]
|
||||
pub fn highlight(&self, index: usize) -> Style {
|
||||
self.highlights[index]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user