diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-02-18 09:26:24 +0000 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-02-18 09:26:24 +0000 |
commit | 16c7ebbb27dc81b4640b5694f36b381cae706c8d (patch) | |
tree | a6f9a860d59e24b0c9141ad8d73e980cfb9ed748 /crates/ra_ide_api/src/completion/snapshots/completion_item__inserts_parens_for_function_calls2.snap | |
parent | 564ab84b787cca0f5994451eb2ce9e1ba8c9d974 (diff) | |
parent | a92db7c84829becdf95e0a5ef6e27cdf833518b8 (diff) |
Merge #854
854: more compact edits in insta r=matklad a=matklad
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_ide_api/src/completion/snapshots/completion_item__inserts_parens_for_function_calls2.snap')
-rw-r--r-- | crates/ra_ide_api/src/completion/snapshots/completion_item__inserts_parens_for_function_calls2.snap | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__inserts_parens_for_function_calls2.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__inserts_parens_for_function_calls2.snap index 32730639e..b124355d5 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__inserts_parens_for_function_calls2.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__inserts_parens_for_function_calls2.snap | |||
@@ -1,5 +1,5 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-02-18T07:29:59.843178843Z" | 2 | created: "2019-02-18T09:22:24.267013140Z" |
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,17 +8,17 @@ expression: kind_completions | |||
8 | CompletionItem { | 8 | CompletionItem { |
9 | label: "main", | 9 | label: "main", |
10 | source_range: [72; 77), | 10 | source_range: [72; 77), |
11 | delete: [72; 77), | ||
12 | insert: "main()$0", | ||
11 | kind: Function, | 13 | kind: Function, |
12 | detail: "fn main()", | 14 | detail: "fn main()" |
13 | insert_text: "main()$0", | ||
14 | insert_text_format: Snippet | ||
15 | }, | 15 | }, |
16 | CompletionItem { | 16 | CompletionItem { |
17 | label: "with_args", | 17 | label: "with_args", |
18 | source_range: [72; 77), | 18 | source_range: [72; 77), |
19 | delete: [72; 77), | ||
20 | insert: "with_args($0)", | ||
19 | kind: Function, | 21 | kind: Function, |
20 | detail: "fn with_args(x: i32, y: String)", | 22 | detail: "fn with_args(x: i32, y: String)" |
21 | insert_text: "with_args($0)", | ||
22 | insert_text_format: Snippet | ||
23 | } | 23 | } |
24 | ] | 24 | ] |