From 9af7b5a6e04bb68543ae9b1e2a5d8b042834fbb9 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 6 Mar 2026 08:23:23 +0000 Subject: [PATCH 1/2] Initial plan From 48537d2a8fd0bec362368f28f01343feb88b7681 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 6 Mar 2026 08:31:21 +0000 Subject: [PATCH 2/2] fix: satisfy clippy manual pattern char comparison in jsonpath split Co-authored-by: dogenkigen <2345634+dogenkigen@users.noreply.github.com> --- src/json_diff/path.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/json_diff/path.rs b/src/json_diff/path.rs index 256a07e..3945efa 100644 --- a/src/json_diff/path.rs +++ b/src/json_diff/path.rs @@ -118,7 +118,7 @@ impl Path { for segment in jsonpath .trim_matches('$') - .split(|c| c == '.' || c == '[') + .split(['.', '[']) .skip(1) { keys.push(Self::parse_token(segment)?);