From d11a1ec44ea69881305db9593b027246aa5dcc5b Mon Sep 17 00:00:00 2001 From: fzyzcjy <5236035+fzyzcjy@users.noreply.github.com> Date: Fri, 16 May 2025 22:31:14 +0800 Subject: [PATCH 1/2] Update into_dart.rs --- src/into_dart.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/into_dart.rs b/src/into_dart.rs index 59ffcf7..fa3fa77 100644 --- a/src/into_dart.rs +++ b/src/into_dart.rs @@ -403,6 +403,8 @@ where } } +impl IntoDartExceptPrimitive for [T; N] where T: IntoDartExceptPrimitive {} + impl IntoDart for Option where T: IntoDart, From 04e28066d9b2d8e2b9c36d8cb54eb708c649b78c Mon Sep 17 00:00:00 2001 From: fzyzcjy <5236035+fzyzcjy@users.noreply.github.com> Date: Fri, 16 May 2025 22:34:34 +0800 Subject: [PATCH 2/2] Update into_dart.rs --- src/into_dart.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/into_dart.rs b/src/into_dart.rs index fa3fa77..a299d3b 100644 --- a/src/into_dart.rs +++ b/src/into_dart.rs @@ -403,7 +403,10 @@ where } } -impl IntoDartExceptPrimitive for [T; N] where T: IntoDartExceptPrimitive {} +impl IntoDartExceptPrimitive for [T; N] where + T: IntoDartExceptPrimitive +{ +} impl IntoDart for Option where