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.

Checkpoint

Antonio Scandurra56fba5541a69
diff --git a/crates/gpui3/src/executor.rs b/crates/gpui3/src/executor.rs
index 166c265128e..d82878cf283 100644
--- a/crates/gpui3/src/executor.rs
+++ b/crates/gpui3/src/executor.rs
@@ -11,6 +11,7 @@ pub struct Executor {
dispatcher: Arc<dyn PlatformDispatcher>,
}
+#[must_use]
pub enum Task<T> {
Ready(Option<T>),
Spawned(async_task::Task<T>),