Skip to content

Commit 46c3bd1

Browse files
committed
live-preview: Remove some dead code
... that only nightly used to find... but now that is stable and breaks CI. I did not remove it directly as I thought I'd need it again, but I am reasonably sure now that I will not, so get rid of it.
1 parent 1d92d29 commit 46c3bd1

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

tools/lsp/common/text_edit.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -240,8 +240,6 @@ impl TextEditor {
240240
pub struct EditedText {
241241
pub url: lsp_types::Url,
242242
pub contents: String,
243-
pub adjustments: TextOffsetAdjustments,
244-
pub original_range: (usize, usize),
245243
}
246244

247245
pub fn apply_workspace_edit(
@@ -276,8 +274,6 @@ pub fn apply_workspace_edit(
276274
Some(EditedText {
277275
url,
278276
contents: edit_result.0,
279-
adjustments: edit_result.1,
280-
original_range: edit_result.2,
281277
})
282278
})
283279
.collect())

0 commit comments

Comments
 (0)