summaryrefslogtreecommitdiff
path: root/support/texlab/crates/hover
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2024-05-26 03:01:14 +0000
committerNorbert Preining <norbert@preining.info>2024-05-26 03:01:14 +0000
commita6ca78f24091e7023516b4761d400b3699f82937 (patch)
treec232a264a2fbf391f9d10cf330ce611f8a0e64ab /support/texlab/crates/hover
parent737e568a228eca50e9aeabe3116e1fe8116d27d5 (diff)
CTAN sync 202405260301
Diffstat (limited to 'support/texlab/crates/hover')
-rw-r--r--support/texlab/crates/hover/src/lib.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/support/texlab/crates/hover/src/lib.rs b/support/texlab/crates/hover/src/lib.rs
index 2d22d50b0b..dcf4d442a9 100644
--- a/support/texlab/crates/hover/src/lib.rs
+++ b/support/texlab/crates/hover/src/lib.rs
@@ -35,12 +35,12 @@ pub enum HoverData<'db> {
}
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))
- .or_else(|| field_type::find_hover(&params))
- .or_else(|| label::find_hover(&params))
- .or_else(|| string_ref::find_hover(&params))
+ citation::find_hover(params)
+ .or_else(|| package::find_hover(params))
+ .or_else(|| entry_type::find_hover(params))
+ .or_else(|| field_type::find_hover(params))
+ .or_else(|| label::find_hover(params))
+ .or_else(|| string_ref::find_hover(params))
}
#[cfg(test)]