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.

Remove unused method

Nathan Sobo0f332238b307
diff --git a/crates/gpui/src/app/test_app_context.rs b/crates/gpui/src/app/test_app_context.rs
index e298224caa2..e0fd0cb8e9f 100644
--- a/crates/gpui/src/app/test_app_context.rs
+++ b/crates/gpui/src/app/test_app_context.rs
@@ -125,13 +125,6 @@ impl TestAppContext {
}
}
- pub fn window<V: View>(&self, window_id: usize) -> Option<WindowHandle<V>> {
- self.cx
- .borrow()
- .read_window(window_id, |cx| cx.window())
- .flatten()
- }
-
pub fn read_window<T, F: FnOnce(&WindowContext) -> T>(
&self,
window_id: usize,