diff options
Diffstat (limited to 'support/texlab/src/features/completion/types.rs')
-rw-r--r-- | support/texlab/src/features/completion/types.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/support/texlab/src/features/completion/types.rs b/support/texlab/src/features/completion/types.rs index b58a155fc4..b7e5c09592 100644 --- a/support/texlab/src/features/completion/types.rs +++ b/support/texlab/src/features/completion/types.rs @@ -40,7 +40,7 @@ pub enum InternalCompletionItemData<'a> { BeginCommand, Citation { uri: Arc<Uri>, - key: &'a str, + key: String, text: String, ty: Structure, }, @@ -67,10 +67,10 @@ pub enum InternalCompletionItemData<'a> { name: &'a str, }, Acronym { - name: &'a str, + name: String, }, GlossaryEntry { - name: &'a str, + name: String, }, File { name: SmolStr, @@ -79,7 +79,7 @@ pub enum InternalCompletionItemData<'a> { name: SmolStr, }, Label { - name: &'a str, + name: String, kind: Structure, header: Option<String>, footer: Option<String>, |