diff options
Diffstat (limited to 'support/texlab/crates/references/src/label.rs')
-rw-r--r-- | support/texlab/crates/references/src/label.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/support/texlab/crates/references/src/label.rs b/support/texlab/crates/references/src/label.rs index 872ef2dd14..20fc6e0d25 100644 --- a/support/texlab/crates/references/src/label.rs +++ b/support/texlab/crates/references/src/label.rs @@ -14,7 +14,7 @@ pub(super) fn find_all(context: &mut ReferenceContext) -> Option<()> { .name_text(); let project = &context.params.feature.project; - for (document, label) in queries::objects_with_name::<tex::Label>(&project, name) { + for (document, label) in queries::objects_with_name::<tex::Label>(project, name) { let kind = match label.kind { tex::LabelKind::Definition => ReferenceKind::Definition, tex::LabelKind::Reference | tex::LabelKind::ReferenceRange => ReferenceKind::Reference, |