mirror of
https://github.com/zed-industries/zed.git
synced 2026-06-01 03:14:56 +07:00
gpui: Fix typo in ForegroundExecutor documentation (#41446)
Release Notes: - N/A Signed-off-by: Xiaobo Liu <cppcoffee@gmail.com>
This commit is contained in:
parent
6fa823417f
commit
f2c03d0d0a
1 changed files with 1 additions and 1 deletions
|
|
@ -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)]
|
||||
|
|
|
|||
Loading…
Reference in a new issue