File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 70
70
Use the untagged enum representation for this enum. See [ enum representations]
71
71
for details on this representation.
72
72
73
- When no variant matches, the error may be uninformative which can be improved with [ ` serde(expecting) ` ] ( #expecting ) .
73
+ When no variant matches, the error may be uninformative which can be improved
74
+ with [ ` serde(expecting) ` ] ( #expecting ) .
74
75
75
- In performance-critical code, checking each variant and processing the errors can be slow.
76
- In these cases, it may be better to hand-implement the deserialize trait for which [ serde-untagged] may help.
76
+ In performance-critical code, checking each variant and processing the errors
77
+ can be slow. In these cases, it may be better to hand-implement the
78
+ deserialize trait for which [ serde-untagged] may help.
77
79
78
80
[ serde-untagged ] : https://docs.rs/serde-untagged
79
81
You can’t perform that action at this time.
0 commit comments