Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

de-dbg!

Conrad Irwin7ec4f22202aa
diff --git a/crates/gpui/src/window.rs b/crates/gpui/src/window.rs
index 2803d7c948c..6aa7e73f2d0 100644
--- a/crates/gpui/src/window.rs
+++ b/crates/gpui/src/window.rs
@@ -1209,9 +1209,10 @@ impl<'a> WindowContext<'a> {
// in that scenario "binding.keystrokes" is ",w" and "pending.keystrokes" is ",".
if bindings.iter().all(|binding| {
- currently_pending.bindings.iter().all(|pending| {
- dbg!(!dbg!(binding.keystrokes()).starts_with(dbg!(&pending.keystrokes)))
- })
+ currently_pending
+ .bindings
+ .iter()
+ .all(|pending| binding.keystrokes().starts_with(&pending.keystrokes))
}) {
self.replay_pending_input(currently_pending)
}