summaryrefslogtreecommitdiff
path: root/support/texlab/crates/hover/src/label.rs
diff options
context:
space:
mode:
Diffstat (limited to 'support/texlab/crates/hover/src/label.rs')
-rw-r--r--support/texlab/crates/hover/src/label.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/texlab/crates/hover/src/label.rs b/support/texlab/crates/hover/src/label.rs
index c5f72a287e..fc9694fc6c 100644
--- a/support/texlab/crates/hover/src/label.rs
+++ b/support/texlab/crates/hover/src/label.rs
@@ -20,7 +20,7 @@ pub(super) fn find_hover<'db>(params: &'db HoverParams<'db>) -> Option<Hover<'db
.filter(|(_, label)| label.kind == tex::LabelKind::Definition)
.find(|(_, label)| label.name_text() == cursor.object.name_text())?;
- let label = render_label(&params.workspace, &params.project, definition)?;
+ let label = render_label(params.workspace, &params.project, definition)?;
Some(Hover {
range: cursor.range,
data: HoverData::Label(label),