Remove an unused struct (#36448)

Release Notes:

- N/A
This commit is contained in:
Kirill Bulatov 2025-08-19 01:54:37 +03:00 committed by GitHub
parent 3648dbe939
commit 567ceffd42
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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()
}