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__method_attr_filtering.snap | |
parent | 92aa0f9c871a9308ea3db1b1c4b7e42d88348e30 (diff) |
more compact edits in insta
Diffstat (limited to 'crates/ra_ide_api/src/completion/snapshots/completion_item__method_attr_filtering.snap')
-rw-r--r-- | crates/ra_ide_api/src/completion/snapshots/completion_item__method_attr_filtering.snap | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__method_attr_filtering.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__method_attr_filtering.snap index 9e4062641..ce8af2159 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__method_attr_filtering.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__method_attr_filtering.snap | |||
@@ -1,5 +1,5 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-02-18T09:10:51.944926087Z" | 2 | created: "2019-02-18T09:22:23.941335305Z" |
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,14 +8,8 @@ expression: kind_completions | |||
8 | CompletionItem { | 8 | CompletionItem { |
9 | label: "the_method", | 9 | label: "the_method", |
10 | source_range: [249; 249), | 10 | source_range: [249; 249), |
11 | text_edit: TextEdit { | 11 | delete: [249; 249), |
12 | atoms: [ | 12 | insert: "the_method()$0", |
13 | AtomTextEdit { | ||
14 | delete: [249; 249), | ||
15 | insert: "the_method()$0" | ||
16 | } | ||
17 | ] | ||
18 | }, | ||
19 | kind: Method, | 13 | kind: Method, |
20 | detail: "fn the_method(&self)" | 14 | detail: "fn the_method(&self)" |
21 | } | 15 | } |