diff options
author | Kirill Bulatov <[email protected]> | 2020-12-02 22:13:32 +0000 |
---|---|---|
committer | Kirill Bulatov <[email protected]> | 2020-12-07 21:41:08 +0000 |
commit | 50e06ee95ab12bc204fdce557ab0fb7aa5e5ab2f (patch) | |
tree | 84288818104bab46ac52a60e6e0d4ba4624ab817 /crates/completion/src/item.rs | |
parent | d9bd1f171dde11ff04f0619b14d8f25e5e4fc56e (diff) |
Refactor the code
Diffstat (limited to 'crates/completion/src/item.rs')
-rw-r--r-- | crates/completion/src/item.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/crates/completion/src/item.rs b/crates/completion/src/item.rs index 5906637a6..775245b3b 100644 --- a/crates/completion/src/item.rs +++ b/crates/completion/src/item.rs | |||
@@ -67,8 +67,7 @@ pub struct CompletionItem { | |||
67 | /// possible match. | 67 | /// possible match. |
68 | ref_match: Option<(Mutability, CompletionScore)>, | 68 | ref_match: Option<(Mutability, CompletionScore)>, |
69 | 69 | ||
70 | /// The data later to be used in the `completionItem/resolve` response | 70 | /// The import data to add to completion's edits. |
71 | /// to add the insert import edit. | ||
72 | import_to_add: Option<ImportToAdd>, | 71 | import_to_add: Option<ImportToAdd>, |
73 | } | 72 | } |
74 | 73 | ||