aboutsummaryrefslogtreecommitdiff
path: root/crates/completion/src/item.rs
diff options
context:
space:
mode:
authorKirill Bulatov <[email protected]>2020-12-04 14:03:22 +0000
committerKirill Bulatov <[email protected]>2020-12-07 21:41:08 +0000
commitdeda74edd89affb3f77d274776d2a672bc11db90 (patch)
treee9c7dac6df4fd06012ca6b6e628223e925998f1e /crates/completion/src/item.rs
parent93bc009a5968c964693299263689b50b2efe9abc (diff)
Use stateless completion resolve
Diffstat (limited to 'crates/completion/src/item.rs')
-rw-r--r--crates/completion/src/item.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/crates/completion/src/item.rs b/crates/completion/src/item.rs
index 2dadf7e5b..4e56f28f3 100644
--- a/crates/completion/src/item.rs
+++ b/crates/completion/src/item.rs
@@ -276,7 +276,6 @@ pub struct ImportEdit {
276} 276}
277 277
278impl ImportEdit { 278impl ImportEdit {
279 // TODO kb remove this at all now, since it's used only once?
280 /// Attempts to insert the import to the given scope, producing a text edit. 279 /// Attempts to insert the import to the given scope, producing a text edit.
281 /// May return no edit in edge cases, such as scope already containing the import. 280 /// May return no edit in edge cases, such as scope already containing the import.
282 pub fn to_text_edit(&self) -> Option<TextEdit> { 281 pub fn to_text_edit(&self) -> Option<TextEdit> {