Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
executor: timers must be used
Max Brunsfeldd7e4cb4ab10d
diff --git a/crates/gpui/src/executor.rs b/crates/gpui/src/executor.rsindex 712c8544884..474ea8364fe 100644--- a/crates/gpui/src/executor.rs+++ b/crates/gpui/src/executor.rs@@ -106,6 +106,7 @@ pub struct Deterministic {parker: parking_lot::Mutex<parking::Parker>,}+#[must_use]pub enum Timer {Production(smol::Timer),#[cfg(any(test, feature = "test-support"))]