Remove an unused struct (#36448)

Release Notes:

- N/A
This commit is contained in:
Kirill Bulatov
2025-08-18 22:54:37 +00:00
committed by GitHub
parent 3648dbe939
commit 567ceffd42
-13
View File
@@ -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()
}