We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 19185a8 commit 6589887Copy full SHA for 6589887
_src/container-attrs.md
@@ -72,6 +72,11 @@
72
73
When no variant matches, the error may be uninformative which can be improved with [`serde(expecting)`](#expecting).
74
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.
77
+
78
+ [serde-untagged]: https://docs.rs/serde-untagged
79
80
- ##### `#[serde(bound = "T: MyTrait")]` {#bound}
81
82
Where-clause for the `Serialize` and `Deserialize` impls. This replaces any
0 commit comments