Commit d57eb96
doc: de-clutter documentation with fake-variadics
Currently the doc for `Zeroable` and `ZeroableOption` are filled with the
generated impl of tuples and fn pointers. Use the internal
"fake_variadics" feature to improve the rendered quality.
This makes use of an internal feature, however this is of minimal risk as
it's for documentation only, not activated during normal build, and can be
removed at any time. This feature is already used by serde and bevy to
improve documentation quality.
Signed-off-by: Gary Guo <gary@garyguo.net>1 parent e7a5b50 commit d57eb96
1 file changed
Lines changed: 18 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
279 | 279 | | |
280 | 280 | | |
281 | 281 | | |
| 282 | + | |
| 283 | + | |
282 | 284 | | |
283 | 285 | | |
284 | 286 | | |
| |||
1635 | 1637 | | |
1636 | 1638 | | |
1637 | 1639 | | |
1638 | | - | |
| 1640 | + | |
| 1641 | + | |
| 1642 | + | |
| 1643 | + | |
| 1644 | + | |
| 1645 | + | |
1639 | 1646 | | |
1640 | 1647 | | |
| 1648 | + | |
1641 | 1649 | | |
1642 | 1650 | | |
1643 | 1651 | | |
| |||
1651 | 1659 | | |
1652 | 1660 | | |
1653 | 1661 | | |
| 1662 | + | |
| 1663 | + | |
| 1664 | + | |
| 1665 | + | |
| 1666 | + | |
| 1667 | + | |
| 1668 | + | |
| 1669 | + | |
1654 | 1670 | | |
1655 | 1671 | | |
1656 | 1672 | | |
| 1673 | + | |
1657 | 1674 | | |
1658 | 1675 | | |
1659 | 1676 | | |
| |||
0 commit comments