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__struct_field_completion_autoderef.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__struct_field_completion_autoderef.snap')
-rw-r--r-- | crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion_autoderef.snap | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion_autoderef.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion_autoderef.snap index 6de8ada5a..ec861bf7e 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion_autoderef.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion_autoderef.snap | |||
@@ -1,4 +1,4 @@ | |||
1 | Created: 2019-01-19T16:37:23.629043+00:00 | 1 | Created: 2019-01-20T04:00:48.203230+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 | lookup: None, | 15 | lookup: None, |
16 | insert_text: None, | 16 | insert_text: None, |
17 | insert_text_format: PlainText, | 17 | insert_text_format: PlainText, |
18 | replace_range: [125; 126), | 18 | source_range: [125; 126), |
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 | "foo($0)" | 30 | "foo($0)" |
31 | ), | 31 | ), |
32 | insert_text_format: Snippet, | 32 | insert_text_format: Snippet, |
33 | replace_range: [125; 126), | 33 | source_range: [125; 126), |
34 | delete_range: None | 34 | text_edit: None |
35 | } | 35 | } |
36 | ] | 36 | ] |