aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src/completion/snapshots/completion_item__bindings_from_let.snap
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-02-18 09:05:16 +0000
committerAleksey Kladov <[email protected]>2019-02-18 09:24:20 +0000
commit92aa0f9c871a9308ea3db1b1c4b7e42d88348e30 (patch)
treece785e530a547e3aede708b7725b4a95e666f45f /crates/ra_ide_api/src/completion/snapshots/completion_item__bindings_from_let.snap
parent79f35cc6992d18e97b0bb9e309a2dc37f6f286e8 (diff)
Don't use additional_text_edits API internally
Diffstat (limited to 'crates/ra_ide_api/src/completion/snapshots/completion_item__bindings_from_let.snap')
-rw-r--r--crates/ra_ide_api/src/completion/snapshots/completion_item__bindings_from_let.snap30
1 files changed, 26 insertions, 4 deletions
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__bindings_from_let.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__bindings_from_let.snap
index 2b0da7d73..1b4cbf91e 100644
--- a/crates/ra_ide_api/src/completion/snapshots/completion_item__bindings_from_let.snap
+++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__bindings_from_let.snap
@@ -1,5 +1,5 @@
1--- 1---
2created: "2019-02-18T07:29:59.739513592Z" 2created: "2019-02-18T09:10:52.090000719Z"
3creator: [email protected] 3creator: [email protected]
4source: crates/ra_ide_api/src/completion/completion_item.rs 4source: crates/ra_ide_api/src/completion/completion_item.rs
5expression: kind_completions 5expression: kind_completions
@@ -8,19 +8,41 @@ expression: kind_completions
8 CompletionItem { 8 CompletionItem {
9 label: "quux", 9 label: "quux",
10 source_range: [79; 79), 10 source_range: [79; 79),
11 text_edit: TextEdit {
12 atoms: [
13 AtomTextEdit {
14 delete: [79; 79),
15 insert: "quux($0)"
16 }
17 ]
18 },
11 kind: Function, 19 kind: Function,
12 detail: "fn quux(x: i32)", 20 detail: "fn quux(x: i32)"
13 insert_text: "quux($0)",
14 insert_text_format: Snippet
15 }, 21 },
16 CompletionItem { 22 CompletionItem {
17 label: "x", 23 label: "x",
18 source_range: [79; 79), 24 source_range: [79; 79),
25 text_edit: TextEdit {
26 atoms: [
27 AtomTextEdit {
28 delete: [79; 79),
29 insert: "x"
30 }
31 ]
32 },
19 kind: Binding 33 kind: Binding
20 }, 34 },
21 CompletionItem { 35 CompletionItem {
22 label: "y", 36 label: "y",
23 source_range: [79; 79), 37 source_range: [79; 79),
38 text_edit: TextEdit {
39 atoms: [
40 AtomTextEdit {
41 delete: [79; 79),
42 insert: "y"
43 }
44 ]
45 },
24 kind: Binding 46 kind: Binding
25 } 47 }
26] 48]