diff --git a/crates/task/src/lib.rs b/crates/task/src/lib.rs index a55e89fdaf2aed111dfd7d560733dfc0ee30d8cb..bd5b8306f302e6548007d9a3f070f2fe5999cede 100644 --- a/crates/task/src/lib.rs +++ b/crates/task/src/lib.rs @@ -29,11 +29,11 @@ pub use zed_actions::RevealTarget; /// Task identifier, unique within the application. /// Based on it, task reruns and terminal tabs are managed. -#[derive(Debug, Clone, PartialEq, Eq, Hash, PartialOrd, Ord, Deserialize)] +#[derive(Default, Debug, Clone, PartialEq, Eq, Hash, PartialOrd, Ord, Deserialize)] pub struct TaskId(pub String); /// Contains all information needed by Zed to spawn a new terminal tab for the given task. -#[derive(Debug, Clone, PartialEq, Eq)] +#[derive(Default, Debug, Clone, PartialEq, Eq)] pub struct SpawnInTerminal { /// Id of the task to use when determining task tab affinity. pub id: TaskId,