diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-05-09 23:16:24 +0300 |
|---|---|---|
| committer | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-05-09 23:16:24 +0300 |
| commit | 9f210e973834700d14c6c0283ed750ed5b038e8b (patch) | |
| tree | cd8c75755c59fdc47bf71ca6dc34e49ab0258ae6 /src/pane/state.rs | |
| parent | 3a9888cd564dc45d23a7bdd0dba29a6ff1ef48a1 (diff) | |
chore: enable clippy linting
Diffstat (limited to 'src/pane/state.rs')
| -rw-r--r-- | src/pane/state.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/pane/state.rs b/src/pane/state.rs index aac80920..590f2025 100644 --- a/src/pane/state.rs +++ b/src/pane/state.rs @@ -104,9 +104,7 @@ impl PaneState { source: &str, agent_label: &str, ) -> Option<EffectiveStateChange> { - let Some(current_agent_label) = self.effective_agent_label() else { - return None; - }; + let current_agent_label = self.effective_agent_label()?; if current_agent_label != agent_label { return None; } |
