diff options
Diffstat (limited to 'support/texlab/crates/symbols/src/types.rs')
-rw-r--r-- | support/texlab/crates/symbols/src/types.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/support/texlab/crates/symbols/src/types.rs b/support/texlab/crates/symbols/src/types.rs index d78f9af200..5d31c98143 100644 --- a/support/texlab/crates/symbols/src/types.rs +++ b/support/texlab/crates/symbols/src/types.rs @@ -54,7 +54,7 @@ impl Symbol { } } - pub fn keywords<'a>(&'a self) -> Vec<&'a str> { + pub fn keywords(&self) -> Vec<&str> { match self.kind { SymbolKind::Section => vec![&self.name, "latex", "section"], SymbolKind::Figure => vec![&self.name, "latex", "float", "figure"], |