Remove invalid assertion in editor (#42210)

Jakub Konka created

Release Notes:

- N/A

Change summary

crates/editor/src/editor.rs | 1 -
1 file changed, 1 deletion(-)

Detailed changes

crates/editor/src/editor.rs 🔗

@@ -3366,7 +3366,6 @@ impl Editor {
         other: Entity<Editor>,
         cx: &mut Context<Self>,
     ) -> gpui::Subscription {
-        assert_eq!(self.buffer(), other.read(cx).buffer());
         let other_selections = other.read(cx).selections.disjoint_anchors().to_vec();
         if !other_selections.is_empty() {
             self.selections