Unnamed repository; edit this file 'description' to name the repository.
forgot a dbg
Anatol Ulrich 2021-11-03
parent 9bce4d6 · commit 7581ba3
-rw-r--r--crates/text_edit/src/lib.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/crates/text_edit/src/lib.rs b/crates/text_edit/src/lib.rs
index c4000d8052..95b575db17 100644
--- a/crates/text_edit/src/lib.rs
+++ b/crates/text_edit/src/lib.rs
@@ -116,7 +116,6 @@ impl TextEdit {
}
pub fn union(&mut self, other: TextEdit) -> Result<(), TextEdit> {
- dbg!(&self, &other);
// FIXME: can be done without allocating intermediate vector
let mut all = self.iter().chain(other.iter()).collect::<Vec<_>>();
if !check_disjoint_or_equal(&mut all) {