Unverified Commit 09955d58 authored by Matteo Bigoi's avatar Matteo Bigoi Committed by GitHub
Browse files

Bugfix: prevent errors like "move occurs because `input.element` has type...


Bugfix: prevent errors like "move occurs because `input.element` has type `Blob`, which does not implement the `Copy` trait" (#1269)

Signed-off-by: default avatarBigo <1781140+crisidev@users.noreply.github.com>

Co-authored-by: default avatarRussell Cohen <rcoh@amazon.com>
parent da8d59e0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -347,7 +347,7 @@ class JsonSerializerGenerator(
                )
            }
            is BlobShape -> rust(
                "$writer.string_unchecked(&#T(${value.name}));",
                "$writer.string_unchecked(&#T(${value.name}.as_ref()));",
                RuntimeType.Base64Encode(runtimeConfig)
            )
            is TimestampShape -> {