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.

Remove an unused struct (#36448)

Kirill Bulatov567ceffd429d
diff --git a/crates/workspace/src/workspace.rs b/crates/workspace/src/workspace.rs
index 8ec61b6f10a..babf2ac1d56 100644
--- a/crates/workspace/src/workspace.rs
+++ b/crates/workspace/src/workspace.rs
@@ -256,11 +256,6 @@ actions!(
]
);
-#[derive(Clone, PartialEq)]
-pub struct OpenPaths {
- pub paths: Vec<PathBuf>,
-}
-
/// Activates a specific pane by its index.
#[derive(Clone, Deserialize, PartialEq, JsonSchema, Action)]
#[action(namespace = workspace)]
@@ -6823,14 +6818,6 @@ impl WorkspaceHandle for Entity<Workspace> {
}
}
-impl std::fmt::Debug for OpenPaths {
- fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
- f.debug_struct("OpenPaths")
- .field("paths", &self.paths)
- .finish()
- }
-}
-
pub async fn last_opened_workspace_location() -> Option<SerializedWorkspaceLocation> {
DB.last_workspace().await.log_err().flatten()
}