Open
Description
Currently, Choice automatically derives Decode
.
But DecodeValue
can be derived the same way.
For example, in x509-cert
the following DecodeValue for DirectoryString
is redundant.
formats/x509-cert/src/ext/pkix/name/dirstr.rs
Lines 64 to 83 in 90b6617
I think Decode
should use DecodeValue
in derive(Choice)
.
Metadata
Metadata
Assignees
Labels
No labels