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 unnescessary unimplemented

Mikayla62fc0b210061
diff --git a/crates/gpui2/src/platform/test/platform.rs b/crates/gpui2/src/platform/test/platform.rs
index 4afcc4fc1ae..79a80a3d510 100644
--- a/crates/gpui2/src/platform/test/platform.rs
+++ b/crates/gpui2/src/platform/test/platform.rs
@@ -46,9 +46,7 @@ impl Platform for TestPlatform {
unimplemented!()
}
- fn quit(&self) {
- unimplemented!()
- }
+ fn quit(&self) {}
fn restart(&self) {
unimplemented!()
@@ -141,9 +139,7 @@ impl Platform for TestPlatform {
unimplemented!()
}
- fn on_quit(&self, _callback: Box<dyn FnMut()>) {
- unimplemented!()
- }
+ fn on_quit(&self, _callback: Box<dyn FnMut()>) {}
fn on_reopen(&self, _callback: Box<dyn FnMut()>) {
unimplemented!()