Skip to content

Conversation

@ralfbiedert
Copy link
Collaborator

Added missing_docs lint to Clippy configuration.

Added missing_docs lint to Clippy configuration.
@ralfbiedert ralfbiedert requested a review from geeknoid December 4, 2025 20:08
@geeknoid
Copy link
Member

geeknoid commented Dec 4, 2025

Note that this warning can't be systematically suppressed for examples and benchmarks, which is really silly. So if it's on for a crate, you get warnings if your examples use "pub" anywhere. Oh well, c'est la vie.

trivial_numeric_casts = "warn"
unsafe_op_in_unsafe_fn = "warn"
unused_lifetimes = "warn"
missing_docs = "warn"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we also be adding unwrap_used, along with the clippy.toml setting that turns that lint off for tests and examples?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants