Find pub stuff without doc comments


#1

Is there any tool such as a VS Code extension that will help to find pub stuff that don’t have doc comments? I couldn’t find anything from a few searches.


#2

There’s already a missing_docs lint in the compiler, no need for extensions.

Use #[deny(missing_docs)] on individual modules/items, or #![deny(missing_docs)] in the crate root to apply to everything.


#3

Thanks! You can also use warn(missing_docs). It can be a bit tedious for large workspaces with many crates, but does the job.