summaryrefslogtreecommitdiff
path: root/support/texlab/crates/hover/src/citation.rs
diff options
context:
space:
mode:
Diffstat (limited to 'support/texlab/crates/hover/src/citation.rs')
-rw-r--r--support/texlab/crates/hover/src/citation.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/texlab/crates/hover/src/citation.rs b/support/texlab/crates/hover/src/citation.rs
index d36370e709..49e5359bba 100644
--- a/support/texlab/crates/hover/src/citation.rs
+++ b/support/texlab/crates/hover/src/citation.rs
@@ -30,7 +30,7 @@ pub(super) fn find_hover<'db>(params: &HoverParams<'db>) -> Option<Hover<'db>> {
let text = params.project.documents.iter().find_map(|document| {
let data = document.data.as_bib()?;
let root = bibtex::Root::cast(data.root_node())?;
- let entry = root.find_entry(&name)?;
+ let entry = root.find_entry(name)?;
citeproc::render(&entry)
})?;