From 93f9cff8767673aae1380e12a39dd138de548de7 Mon Sep 17 00:00:00 2001 From: Jakub Konka Date: Fri, 7 Nov 2025 18:36:10 +0100 Subject: [PATCH] Remove invalid assertion in editor (#42210) Release Notes: - N/A --- crates/editor/src/editor.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/crates/editor/src/editor.rs b/crates/editor/src/editor.rs index 5f120fb96425277e5cb6b8106102b9b0232df589..cb93bd94438812e37ba62fbdd2cb43dfa2507adf 100644 --- a/crates/editor/src/editor.rs +++ b/crates/editor/src/editor.rs @@ -3366,7 +3366,6 @@ impl Editor { other: Entity, cx: &mut Context, ) -> 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