From 805a9d23b353d078c18deb8902f4b77854a7167f Mon Sep 17 00:00:00 2001 From: David Mak Date: Fri, 3 Jan 2025 13:58:46 +0800 Subject: [PATCH] [core] codegen: Add derive(Copy, Clone) to TypedArrayLikeAdapter --- nac3core/src/codegen/values/array.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/nac3core/src/codegen/values/array.rs b/nac3core/src/codegen/values/array.rs index 55e91b21..b756f278 100644 --- a/nac3core/src/codegen/values/array.rs +++ b/nac3core/src/codegen/values/array.rs @@ -208,6 +208,7 @@ pub trait TypedArrayLikeMutator<'ctx, G: CodeGenerator + ?Sized, T, Index = IntV } /// An adapter for constraining untyped array values as typed values. +#[derive(Copy, Clone)] pub struct TypedArrayLikeAdapter< 'ctx, G: CodeGenerator + ?Sized,