diff options
author | gfreezy <[email protected]> | 2019-01-20 04:02:00 +0000 |
---|---|---|
committer | gfreezy <[email protected]> | 2019-01-20 04:02:00 +0000 |
commit | 2a43638052213d1faa690e6d68bd5702e44fa027 (patch) | |
tree | 38cb979816dcdff9b9847592a1f99193f0bda70b /crates/ra_ide_api/src/completion/snapshots/completion_item__inserts_parens_for_function_calls2.snap | |
parent | 94d96b60f334e662f516bd0f04cc4191d7a804e6 (diff) |
use a combination of `source_change` and `text_edit` for `CompleteItem`
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 | 10 |
1 files changed, 5 insertions, 5 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 11a8f1757..231d75d7a 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,4 +1,4 @@ | |||
1 | Created: 2019-01-19T16:37:23.686781+00:00 | 1 | Created: 2019-01-20T04:00:48.255317+00:00 |
2 | Creator: [email protected] | 2 | Creator: [email protected] |
3 | Source: crates/ra_ide_api/src/completion/completion_item.rs | 3 | Source: crates/ra_ide_api/src/completion/completion_item.rs |
4 | 4 | ||
@@ -15,8 +15,8 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
15 | "main()$0" | 15 | "main()$0" |
16 | ), | 16 | ), |
17 | insert_text_format: Snippet, | 17 | insert_text_format: Snippet, |
18 | replace_range: [72; 77), | 18 | source_range: [72; 77), |
19 | delete_range: None | 19 | text_edit: None |
20 | }, | 20 | }, |
21 | CompletionItem { | 21 | CompletionItem { |
22 | completion_kind: Reference, | 22 | completion_kind: Reference, |
@@ -30,7 +30,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
30 | "with_args($0)" | 30 | "with_args($0)" |
31 | ), | 31 | ), |
32 | insert_text_format: Snippet, | 32 | insert_text_format: Snippet, |
33 | replace_range: [72; 77), | 33 | source_range: [72; 77), |
34 | delete_range: None | 34 | text_edit: None |
35 | } | 35 | } |
36 | ] | 36 | ] |