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__return_type.snap | |
parent | 92aa0f9c871a9308ea3db1b1c4b7e42d88348e30 (diff) |
more compact edits in insta
Diffstat (limited to 'crates/ra_ide_api/src/completion/snapshots/completion_item__return_type.snap')
-rw-r--r-- | crates/ra_ide_api/src/completion/snapshots/completion_item__return_type.snap | 22 |
1 files changed, 5 insertions, 17 deletions
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__return_type.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__return_type.snap index 954d1b4bc..0738cf466 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__return_type.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__return_type.snap | |||
@@ -1,5 +1,5 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-02-18T09:10:52.125606324Z" | 2 | created: "2019-02-18T09:22:24.182964414Z" |
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,27 +8,15 @@ expression: kind_completions | |||
8 | CompletionItem { | 8 | CompletionItem { |
9 | label: "Foo", | 9 | label: "Foo", |
10 | source_range: [47; 47), | 10 | source_range: [47; 47), |
11 | text_edit: TextEdit { | 11 | delete: [47; 47), |
12 | atoms: [ | 12 | insert: "Foo", |
13 | AtomTextEdit { | ||
14 | delete: [47; 47), | ||
15 | insert: "Foo" | ||
16 | } | ||
17 | ] | ||
18 | }, | ||
19 | kind: Struct | 13 | kind: Struct |
20 | }, | 14 | }, |
21 | CompletionItem { | 15 | CompletionItem { |
22 | label: "x", | 16 | label: "x", |
23 | source_range: [47; 47), | 17 | source_range: [47; 47), |
24 | text_edit: TextEdit { | 18 | delete: [47; 47), |
25 | atoms: [ | 19 | insert: "x()$0", |
26 | AtomTextEdit { | ||
27 | delete: [47; 47), | ||
28 | insert: "x()$0" | ||
29 | } | ||
30 | ] | ||
31 | }, | ||
32 | kind: Function, | 20 | kind: Function, |
33 | detail: "fn x() ->" | 21 | detail: "fn x() ->" |
34 | } | 22 | } |