summaryrefslogtreecommitdiff
path: root/support/texlab/crates/completion/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'support/texlab/crates/completion/src/lib.rs')
-rw-r--r--support/texlab/crates/completion/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/texlab/crates/completion/src/lib.rs b/support/texlab/crates/completion/src/lib.rs
index b1050052f0..5bfd94d944 100644
--- a/support/texlab/crates/completion/src/lib.rs
+++ b/support/texlab/crates/completion/src/lib.rs
@@ -72,7 +72,7 @@ impl<'a> CompletionItemData<'a> {
Self::Citation(data) => &data.entry.name.text,
Self::Environment(data) => data.name,
Self::GlossaryEntry(data) => &data.name,
- Self::Label(data) => data.name,
+ Self::Label(data) => &data.name,
Self::Color(name) => name,
Self::ColorModel(name) => name,
Self::File(name) => name,