Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Fix up action derive
Piotr Osiewicz741e11cc11df
diff --git a/crates/search2/src/buffer_search.rs b/crates/search2/src/buffer_search.rsindex 3c995af20bb..5e213806294 100644--- a/crates/search2/src/buffer_search.rs+++ b/crates/search2/src/buffer_search.rs@@ -10,11 +10,12 @@ use collections::HashMap;use editor::Editor;use futures::channel::oneshot;use gpui::{- action, actions, div, red, Action, AppContext, Component, Div, EventEmitter,- InteractiveComponent, ParentComponent as _, Render, Styled, Subscription, Task, View,- ViewContext, VisualContext as _, WindowContext,+ actions, div, red, Action, AppContext, Component, Div, EventEmitter, InteractiveComponent,+ ParentComponent as _, Render, Styled, Subscription, Task, View, ViewContext,+ VisualContext as _, WindowContext,};use project::search::SearchQuery;+use serde::Deserialize;use std::{any::Any, sync::Arc};use ui::{h_stack, ButtonGroup, Icon, IconButton, IconElement};@@ -25,7 +26,7 @@ use workspace::{Pane, ToolbarItemLocation, ToolbarItemView, Workspace,};-#[action]+#[derive(PartialEq, Clone, Deserialize, Default, Action)]pub struct Deploy {pub focus: bool,}