aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src/completion/snapshots/completion_item__completes_break_and_continue_in_loops1.snap
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_ide_api/src/completion/snapshots/completion_item__completes_break_and_continue_in_loops1.snap')
-rw-r--r--crates/ra_ide_api/src/completion/snapshots/completion_item__completes_break_and_continue_in_loops1.snap72
1 files changed, 15 insertions, 57 deletions
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__completes_break_and_continue_in_loops1.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__completes_break_and_continue_in_loops1.snap
index 74f6fcd77..42ff02469 100644
--- a/crates/ra_ide_api/src/completion/snapshots/completion_item__completes_break_and_continue_in_loops1.snap
+++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__completes_break_and_continue_in_loops1.snap
@@ -1,5 +1,5 @@
1--- 1---
2created: "2019-02-18T09:10:51.974241301Z" 2created: "2019-02-18T09:22:23.976673150Z"
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,92 +8,50 @@ expression: kind_completions
8 CompletionItem { 8 CompletionItem {
9 label: "break", 9 label: "break",
10 source_range: [55; 55), 10 source_range: [55; 55),
11 text_edit: TextEdit { 11 delete: [55; 55),
12 atoms: [ 12 insert: "break;",
13 AtomTextEdit {
14 delete: [55; 55),
15 insert: "break;"
16 }
17 ]
18 },
19 kind: Keyword 13 kind: Keyword
20 }, 14 },
21 CompletionItem { 15 CompletionItem {
22 label: "continue", 16 label: "continue",
23 source_range: [55; 55), 17 source_range: [55; 55),
24 text_edit: TextEdit { 18 delete: [55; 55),
25 atoms: [ 19 insert: "continue;",
26 AtomTextEdit {
27 delete: [55; 55),
28 insert: "continue;"
29 }
30 ]
31 },
32 kind: Keyword 20 kind: Keyword
33 }, 21 },
34 CompletionItem { 22 CompletionItem {
35 label: "if", 23 label: "if",
36 source_range: [55; 55), 24 source_range: [55; 55),
37 text_edit: TextEdit { 25 delete: [55; 55),
38 atoms: [ 26 insert: "if $0 {}",
39 AtomTextEdit {
40 delete: [55; 55),
41 insert: "if $0 {}"
42 }
43 ]
44 },
45 kind: Keyword 27 kind: Keyword
46 }, 28 },
47 CompletionItem { 29 CompletionItem {
48 label: "loop", 30 label: "loop",
49 source_range: [55; 55), 31 source_range: [55; 55),
50 text_edit: TextEdit { 32 delete: [55; 55),
51 atoms: [ 33 insert: "loop {$0}",
52 AtomTextEdit {
53 delete: [55; 55),
54 insert: "loop {$0}"
55 }
56 ]
57 },
58 kind: Keyword 34 kind: Keyword
59 }, 35 },
60 CompletionItem { 36 CompletionItem {
61 label: "match", 37 label: "match",
62 source_range: [55; 55), 38 source_range: [55; 55),
63 text_edit: TextEdit { 39 delete: [55; 55),
64 atoms: [ 40 insert: "match $0 {}",
65 AtomTextEdit {
66 delete: [55; 55),
67 insert: "match $0 {}"
68 }
69 ]
70 },
71 kind: Keyword 41 kind: Keyword
72 }, 42 },
73 CompletionItem { 43 CompletionItem {
74 label: "return", 44 label: "return",
75 source_range: [55; 55), 45 source_range: [55; 55),
76 text_edit: TextEdit { 46 delete: [55; 55),
77 atoms: [ 47 insert: "return $0;",
78 AtomTextEdit {
79 delete: [55; 55),
80 insert: "return $0;"
81 }
82 ]
83 },
84 kind: Keyword 48 kind: Keyword
85 }, 49 },
86 CompletionItem { 50 CompletionItem {
87 label: "while", 51 label: "while",
88 source_range: [55; 55), 52 source_range: [55; 55),
89 text_edit: TextEdit { 53 delete: [55; 55),
90 atoms: [ 54 insert: "while $0 {}",
91 AtomTextEdit {
92 delete: [55; 55),
93 insert: "while $0 {}"
94 }
95 ]
96 },
97 kind: Keyword 55 kind: Keyword
98 } 56 }
99] 57]