aboutsummaryrefslogtreecommitdiff
path: root/src/app/state.rs
diff options
context:
space:
mode:
authorOgulcan Celik <ogulcancelik@gmail.com>2026-05-09 23:16:24 +0300
committerOgulcan Celik <ogulcancelik@gmail.com>2026-05-09 23:16:24 +0300
commit9f210e973834700d14c6c0283ed750ed5b038e8b (patch)
treecd8c75755c59fdc47bf71ca6dc34e49ab0258ae6 /src/app/state.rs
parent3a9888cd564dc45d23a7bdd0dba29a6ff1ef48a1 (diff)
chore: enable clippy linting
Diffstat (limited to 'src/app/state.rs')
-rw-r--r--src/app/state.rs9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/app/state.rs b/src/app/state.rs
index f7c4daa1..134d86bd 100644
--- a/src/app/state.rs
+++ b/src/app/state.rs
@@ -391,18 +391,13 @@ pub enum Mode {
KeybindHelp,
}
-#[derive(Debug, Clone, Copy, PartialEq, Eq, serde::Serialize, serde::Deserialize)]
+#[derive(Debug, Clone, Copy, Default, PartialEq, Eq, serde::Serialize, serde::Deserialize)]
pub enum AgentPanelScope {
CurrentWorkspace,
+ #[default]
AllWorkspaces,
}
-impl Default for AgentPanelScope {
- fn default() -> Self {
- Self::AllWorkspaces
- }
-}
-
// ---------------------------------------------------------------------------
// Settings UI state
// ---------------------------------------------------------------------------