diff options
author | Norbert Preining <norbert@preining.info> | 2024-01-28 03:00:53 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2024-01-28 03:00:53 +0000 |
commit | 7084e3008c8fc947579f46c6b8a08dfd180e72ef (patch) | |
tree | 9c99041cba4afefac3859d6a2fe4cea289458468 /support/texlab/crates/hover/src/lib.rs | |
parent | b93d257f657e619e22b8b7a27446118ce041727e (diff) |
CTAN sync 202401280300
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)) |