Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Insert doc comments for generated functions #17

Open
TheDan64 opened this issue Sep 23, 2018 · 1 comment
Open

Insert doc comments for generated functions #17

TheDan64 opened this issue Sep 23, 2018 · 1 comment

Comments

@TheDan64
Copy link
Contributor

It's currently impossible to apply #[deny(missing_docs)] to a module which uses EnumAsGetters/EnumIntoGetters/EnumIsA and friends because the generated functions do not have any doc comment. It'd be great to do so, even if it's not very unqiue or simply mentions that it is autogenerated.

@alekratz
Copy link
Owner

Hey, that's a good idea. If you want to do this, go for it. Otherwise I'll try to get to it this weekend.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants