Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
gpui: Fix typo in `ForegroundExecutor` documentation (#41446)
Xiaobo Liuf2c03d0d0a38
diff --git a/crates/gpui/src/executor.rs b/crates/gpui/src/executor.rsindex ecb3f296c88..644bee6b8d6 100644--- a/crates/gpui/src/executor.rs+++ b/crates/gpui/src/executor.rs@@ -38,7 +38,7 @@ pub struct BackgroundExecutor {/// This is intentionally `!Send` via the `not_send` marker field. This is because/// `ForegroundExecutor::spawn` does not require `Send` but checks at runtime that the future is/// only polled from the same thread it was spawned from. These checks would fail when spawning-/// foreground tasks from from background threads.+/// foreground tasks from background threads.#[derive(Clone)]pub struct ForegroundExecutor {#[doc(hidden)]