concordium-base
concordium-base copied to clipboard
Add Serial implementation in contracts-common for references
Task description
Implement Serial
for &A
where A: Serial
in the concordium-contracts-common library.
In most cases this won't matter too much since we usually use A
as self
and there we benefit from the Rust convenience features in how it type checks foo.serial()
, but when using .put
we might have an annoyance without this implementation.