aboutsummaryrefslogtreecommitdiff
path: root/helix-core/src/diff.rs
diff options
context:
space:
mode:
authorKirawi2022-01-12 04:11:00 +0000
committerGitHub2022-01-12 04:11:00 +0000
commit8d273a561387ceb0bcc9c9f8c9fa90a64204118f (patch)
tree25f896c839966f32350a6e7dd1ca716662d7613f /helix-core/src/diff.rs
parentddbf03613d5a3dd64f3f5ba13795e70c29297837 (diff)
remove outdated note (#1485)
Diffstat (limited to 'helix-core/src/diff.rs')
-rw-r--r--helix-core/src/diff.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/helix-core/src/diff.rs b/helix-core/src/diff.rs
index a83db333..3349213d 100644
--- a/helix-core/src/diff.rs
+++ b/helix-core/src/diff.rs
@@ -11,10 +11,6 @@ pub fn compare_ropes(old: &Rope, new: &Rope) -> Transaction {
// A timeout is set so after 1 seconds, the algorithm will start
// approximating. This is especially important for big `Rope`s or
// `Rope`s that are extremely dissimilar to each other.
- //
- // Note: Ignore the clippy warning, as the trait bounds of
- // `Transaction::change()` require an iterator implementing
- // `ExactIterator`.
let mut config = similar::TextDiff::configure();
config.timeout(std::time::Duration::from_secs(1));