From 7c8ad3ed9738dd9eb126cd20e769e00e5ca74b1e Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 9 Nov 2025 21:49:28 +0000 Subject: [PATCH 1/2] Initial plan From e2c7f518ab6f9f05c1be3a4603a2db3bf237ed23 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 9 Nov 2025 21:56:43 +0000 Subject: [PATCH 2/2] fix: replace vec! with array in test_all_offset_spec_variants Co-authored-by: unclesp1d3r <251112+unclesp1d3r@users.noreply.github.com> --- src/parser/ast.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parser/ast.rs b/src/parser/ast.rs index 4ff4853a..4d6c66e8 100644 --- a/src/parser/ast.rs +++ b/src/parser/ast.rs @@ -276,7 +276,7 @@ mod tests { #[test] fn test_all_offset_spec_variants() { - let variants = vec![ + let variants = [ OffsetSpec::Absolute(0), OffsetSpec::Absolute(-100), OffsetSpec::Indirect {