From 9cfbb8ceedc360f8df30b87e39587879dff246c5 Mon Sep 17 00:00:00 2001 From: YeonGyu-Kim Date: Thu, 2 Apr 2026 14:48:47 +0900 Subject: [PATCH] fix(runtime): merge identical session load match arms Resolves clippy::match_same_arms in session.rs. Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus --- rust/crates/runtime/src/session.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/rust/crates/runtime/src/session.rs b/rust/crates/runtime/src/session.rs index f08face..e26b910 100644 --- a/rust/crates/runtime/src/session.rs +++ b/rust/crates/runtime/src/session.rs @@ -168,8 +168,7 @@ impl Session { { Self::from_json(&value)? } - Err(_) => Self::from_jsonl(&contents)?, - Ok(_) => Self::from_jsonl(&contents)?, + Err(_) | Ok(_) => Self::from_jsonl(&contents)?, }; Ok(session.with_persistence_path(path.to_path_buf())) }