Fix rustdoc output of enums with private variants
Previously, if every variant was private, it would display as a variantless enum instead of having the "some variants stripped" comment.
Showing
想要评论请 注册 或 登录
Previously, if every variant was private, it would display as a variantless enum instead of having the "some variants stripped" comment.