json icon indicating copy to clipboard operation
json copied to clipboard

Add warning to RawValue docs regarding untagged enums

Open d4h0 opened this issue 5 years ago • 0 comments

Hi,

This adds a warning to the docs of RawValue for this bug (deserializing to an untagged enum with RawValue always fails).

Because there is basically no usable information if deserializing to an untagged enum failes, a note like this would be useful to Rust beginners like me (it took me more than one hour to find out what the problem was).

d4h0 avatar Aug 16 '20 12:08 d4h0