diff options
author | Aleksey Kladov <[email protected]> | 2019-02-18 09:23:31 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-02-18 09:24:25 +0000 |
commit | a92db7c84829becdf95e0a5ef6e27cdf833518b8 (patch) | |
tree | a68a589db3373ee0d892b8c1216db04e8a47d6b7 /crates/ra_ide_api/src/completion/snapshots/completion_item__bindings_from_if_let.snap | |
parent | 92aa0f9c871a9308ea3db1b1c4b7e42d88348e30 (diff) |
more compact edits in insta
Diffstat (limited to 'crates/ra_ide_api/src/completion/snapshots/completion_item__bindings_from_if_let.snap')
-rw-r--r-- | crates/ra_ide_api/src/completion/snapshots/completion_item__bindings_from_if_let.snap | 32 |
1 files changed, 7 insertions, 25 deletions
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__bindings_from_if_let.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__bindings_from_if_let.snap index badaed8fe..3b374c4de 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__bindings_from_if_let.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__bindings_from_if_let.snap | |||
@@ -1,5 +1,5 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-02-18T09:10:52.092577354Z" | 2 | created: "2019-02-18T09:22:24.126809445Z" |
3 | creator: [email protected] | 3 | creator: [email protected] |
4 | source: crates/ra_ide_api/src/completion/completion_item.rs | 4 | source: crates/ra_ide_api/src/completion/completion_item.rs |
5 | expression: kind_completions | 5 | expression: kind_completions |
@@ -8,40 +8,22 @@ expression: kind_completions | |||
8 | CompletionItem { | 8 | CompletionItem { |
9 | label: "a", | 9 | label: "a", |
10 | source_range: [214; 214), | 10 | source_range: [214; 214), |
11 | text_edit: TextEdit { | 11 | delete: [214; 214), |
12 | atoms: [ | 12 | insert: "a", |
13 | AtomTextEdit { | ||
14 | delete: [214; 214), | ||
15 | insert: "a" | ||
16 | } | ||
17 | ] | ||
18 | }, | ||
19 | kind: Binding | 13 | kind: Binding |
20 | }, | 14 | }, |
21 | CompletionItem { | 15 | CompletionItem { |
22 | label: "b", | 16 | label: "b", |
23 | source_range: [214; 214), | 17 | source_range: [214; 214), |
24 | text_edit: TextEdit { | 18 | delete: [214; 214), |
25 | atoms: [ | 19 | insert: "b", |
26 | AtomTextEdit { | ||
27 | delete: [214; 214), | ||
28 | insert: "b" | ||
29 | } | ||
30 | ] | ||
31 | }, | ||
32 | kind: Binding | 20 | kind: Binding |
33 | }, | 21 | }, |
34 | CompletionItem { | 22 | CompletionItem { |
35 | label: "quux", | 23 | label: "quux", |
36 | source_range: [214; 214), | 24 | source_range: [214; 214), |
37 | text_edit: TextEdit { | 25 | delete: [214; 214), |
38 | atoms: [ | 26 | insert: "quux()$0", |
39 | AtomTextEdit { | ||
40 | delete: [214; 214), | ||
41 | insert: "quux()$0" | ||
42 | } | ||
43 | ] | ||
44 | }, | ||
45 | kind: Function, | 27 | kind: Function, |
46 | detail: "fn quux()" | 28 | detail: "fn quux()" |
47 | } | 29 | } |