aboutsummaryrefslogtreecommitdiff
path: root/crates/completion/src/item.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/completion/src/item.rs')
-rw-r--r--crates/completion/src/item.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/completion/src/item.rs b/crates/completion/src/item.rs
index 0e59f73cb..dc67df075 100644
--- a/crates/completion/src/item.rs
+++ b/crates/completion/src/item.rs
@@ -12,6 +12,7 @@ use crate::config::SnippetCap;
12/// `CompletionItem` describes a single completion variant in the editor pop-up. 12/// `CompletionItem` describes a single completion variant in the editor pop-up.
13/// It is basically a POD with various properties. To construct a 13/// It is basically a POD with various properties. To construct a
14/// `CompletionItem`, use `new` method and the `Builder` struct. 14/// `CompletionItem`, use `new` method and the `Builder` struct.
15#[derive(Clone)]
15pub struct CompletionItem { 16pub struct CompletionItem {
16 /// Used only internally in tests, to check only specific kind of 17 /// Used only internally in tests, to check only specific kind of
17 /// completion (postfix, keyword, reference, etc). 18 /// completion (postfix, keyword, reference, etc).