concordium-base icon indicating copy to clipboard operation
concordium-base copied to clipboard

Add Serial implementation in contracts-common for references

Open abizjak opened this issue 2 years ago • 0 comments

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.

abizjak avatar Jun 07 '22 09:06 abizjak