diff options
author | gfreezy <[email protected]> | 2019-01-19 16:38:34 +0000 |
---|---|---|
committer | gfreezy <[email protected]> | 2019-01-19 16:38:34 +0000 |
commit | 94d96b60f334e662f516bd0f04cc4191d7a804e6 (patch) | |
tree | 34ed5b9da22c938a5f7a3cac7a09de5812fa819f /crates/ra_ide_api/src/completion/snapshots/completion_item__nested_use_tree.snap | |
parent | 64342599ca43fb72d0db8e79802a1018f480b5f5 (diff) |
refactor to use `remove_range` and `replace_range` instead of TextEdit
Diffstat (limited to 'crates/ra_ide_api/src/completion/snapshots/completion_item__nested_use_tree.snap')
-rw-r--r-- | crates/ra_ide_api/src/completion/snapshots/completion_item__nested_use_tree.snap | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__nested_use_tree.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__nested_use_tree.snap index dbe1e0445..bb2830737 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__nested_use_tree.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__nested_use_tree.snap | |||
@@ -1,4 +1,4 @@ | |||
1 | Created: 2019-01-19T11:53:16.799743+00:00 | 1 | Created: 2019-01-19T16:37:23.666350+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 | ||
@@ -11,9 +11,10 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
11 | ), | 11 | ), |
12 | detail: None, | 12 | detail: None, |
13 | lookup: None, | 13 | lookup: None, |
14 | insert_text: None, | ||
14 | insert_text_format: PlainText, | 15 | insert_text_format: PlainText, |
15 | text_edit: None, | 16 | replace_range: [12; 14), |
16 | additional_text_edits: None | 17 | delete_range: None |
17 | }, | 18 | }, |
18 | CompletionItem { | 19 | CompletionItem { |
19 | completion_kind: Reference, | 20 | completion_kind: Reference, |
@@ -23,8 +24,9 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
23 | ), | 24 | ), |
24 | detail: None, | 25 | detail: None, |
25 | lookup: None, | 26 | lookup: None, |
27 | insert_text: None, | ||
26 | insert_text_format: PlainText, | 28 | insert_text_format: PlainText, |
27 | text_edit: None, | 29 | replace_range: [12; 14), |
28 | additional_text_edits: None | 30 | delete_range: None |
29 | } | 31 | } |
30 | ] | 32 | ] |