@@ -11,10 +11,6 @@ pub fn compare_ropes(old: &Rope, new: &Rope) -> Transaction {
11 // A timeout is set so after 1 seconds, the algorithm will start
11 // A timeout is set so after 1 seconds, the algorithm will start
12 // approximating. This is especially important for big `Rope`s or
12 // approximating. This is especially important for big `Rope`s or
13 // `Rope`s that are extremely dissimilar to each other.
13 // `Rope`s that are extremely dissimilar to each other.
15− // Note: Ignore the clippy warning, as the trait bounds of
16− // `Transaction::change()` require an iterator implementing
18 let mut config = similar::TextDiff::configure();
14 let mut config = similar::TextDiff::configure();
19 config.timeout(std::time::Duration::from_secs(1));
15 config.timeout(std::time::Duration::from_secs(1));