]> git.lizzy.rs Git - rust.git/blob - src/docs/serde_api_misuse.txt
Auto merge of #9421 - xphoniex:fix-#9420, r=giraffate
[rust.git] / src / docs / serde_api_misuse.txt
1 ### What it does
2 Checks for mis-uses of the serde API.
3
4 ### Why is this bad?
5 Serde is very finnicky about how its API should be
6 used, but the type system can't be used to enforce it (yet?).
7
8 ### Example
9 Implementing `Visitor::visit_string` but not
10 `Visitor::visit_str`.