summaryrefslogtreecommitdiff
path: root/support/texlab/crates/hover/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'support/texlab/crates/hover/src/lib.rs')
-rw-r--r--support/texlab/crates/hover/src/lib.rs2
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(&params)
.or_else(|| package::find_hover(&params))
.or_else(|| entry_type::find_hover(&params))