Skip to content

Commit

Permalink
live-preview: Remove some dead code
Browse files Browse the repository at this point in the history
... 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.
  • Loading branch information
hunger committed Jun 14, 2024
1 parent 1d92d29 commit 46c3bd1
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tools/lsp/common/text_edit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -240,8 +240,6 @@ impl TextEditor {
pub struct EditedText {
pub url: lsp_types::Url,
pub contents: String,
pub adjustments: TextOffsetAdjustments,
pub original_range: (usize, usize),
}

pub fn apply_workspace_edit(
Expand Down Expand Up @@ -276,8 +274,6 @@ pub fn apply_workspace_edit(
Some(EditedText {
url,
contents: edit_result.0,
adjustments: edit_result.1,
original_range: edit_result.2,
})
})
.collect())
Expand Down

0 comments on commit 46c3bd1

Please sign in to comment.