mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-27 05:23:24 +00:00
remove debug-print
This commit is contained in:
parent
deba1fedfa
commit
77751cfe01
1 changed files with 0 additions and 1 deletions
|
@ -217,7 +217,6 @@ impl ConvWith<(&LineIndex, LineEndings)> for &AtomTextEdit {
|
||||||
self,
|
self,
|
||||||
(line_index, line_endings): (&LineIndex, LineEndings),
|
(line_index, line_endings): (&LineIndex, LineEndings),
|
||||||
) -> lsp_types::TextEdit {
|
) -> lsp_types::TextEdit {
|
||||||
eprintln!("line_endings = {:?}", line_endings);
|
|
||||||
let mut new_text = self.insert.clone();
|
let mut new_text = self.insert.clone();
|
||||||
if line_endings == LineEndings::Dos {
|
if line_endings == LineEndings::Dos {
|
||||||
new_text = new_text.replace('\n', "\r\n");
|
new_text = new_text.replace('\n', "\r\n");
|
||||||
|
|
Loading…
Reference in a new issue