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.

Fix typo in comment

Piotr Osiewicz0d0c85a5ee5d
diff --git a/crates/workspace/src/pane.rs b/crates/workspace/src/pane.rs
index ab8e248ac06..7f164c6e69b 100644
--- a/crates/workspace/src/pane.rs
+++ b/crates/workspace/src/pane.rs
@@ -345,7 +345,7 @@ impl Pane {
// We not only check whether our focus handle contains focus, but also
// whether the active_item might have focus, because we might have just activated an item
// but that hasn't rendered yet.
- // So before the next render, we might have transfered focus
+ // So before the next render, we might have transferred focus
// to the item and `focus_handle.contains_focus` returns false because the `active_item`
// is not hooked up to us in the dispatch tree.
self.focus_handle.contains_focused(cx)