This commit is contained in:
Andras Schmelczer 2024-11-24 22:33:24 +00:00
parent 8b8733c1e3
commit 3391d2c0ec
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C
2 changed files with 4 additions and 5 deletions

View file

@ -10,7 +10,6 @@ use crate::{diffs::myers::diff, utils::merge_iters::MergeSorted};
use ropey::Rope;
use std::hash::Hash;
use std::iter;
use std::path::Iter;
#[cfg(feature = "serde")]
use serde::{Deserialize, Serialize};
@ -59,7 +58,7 @@ impl<'a> EditedText<'a> {
Self::new(
original,
// Self::cook_operations(diff),
Self::cook_operations(Self::elongate_operations(diff.into_iter())).collect(),
Self::cook_operations(Self::elongate_operations(diff)).collect(),
)
}