diff options
Diffstat (limited to 'support/texlab/crates/hover/src/lib.rs')
-rw-r--r-- | support/texlab/crates/hover/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/support/texlab/crates/hover/src/lib.rs b/support/texlab/crates/hover/src/lib.rs index bd16be3282..2d22d50b0b 100644 --- a/support/texlab/crates/hover/src/lib.rs +++ b/support/texlab/crates/hover/src/lib.rs @@ -34,7 +34,7 @@ pub enum HoverData<'db> { StringRef(String), } -pub fn find(params: HoverParams) -> Option<Hover> { +pub fn find<'a>(params: &HoverParams<'a>) -> Option<Hover<'a>> { citation::find_hover(¶ms) .or_else(|| package::find_hover(¶ms)) .or_else(|| entry_type::find_hover(¶ms)) |