Repository navigation
ref(lints): Enforce missing_docs lint globally - #1321
Merged
szokeasaurusrex merged 1 commit intoSep 15, 2026
Conversation
szokeasaurusrex
marked this pull request as ready for review
September 15, 2026 13:49
szokeasaurusrex
force-pushed
the
szokeasaurusrex/centralize-missing_docs-warning
branch
from
September 15, 2026 13:50
3f094ba to
e71e205
Compare
Enforce the `missing_docs` lint globally to require all public API items to be documented. Until now, this lint has been individually enabled in the workspace crates. This change centralizes the lint enforcement in the workspace `Cargo.toml`. Enabling in the workspace `Cargo.toml` also enables the lint for examples and integration tests, which is probably desireable. However, because we largely have not been documenting these so far, the lint triggered in many of these places. So, this change also adds `#![expect]` annotations to disable the lint on examples and tests that have existed before this lint was enabled.
szokeasaurusrex
force-pushed
the
szokeasaurusrex/centralize-missing_docs-warning
branch
from
September 15, 2026 14:06
e71e205 to
4ffdc9d
Compare
Member
Author
|
Opening this to make our lint config consistent across crates; I noticed the |
alexander-alderman-webb
approved these changes
Sep 15, 2026
szokeasaurusrex
deleted the
szokeasaurusrex/centralize-missing_docs-warning
branch
September 15, 2026 15:37
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Enforce the
missing_docslint globally to require all public API items to be documented.Until now, this lint has been individually enabled in the workspace crates. This change centralizes the lint enforcement in the workspace
Cargo.toml.Enabling in the workspace
Cargo.tomlalso enables the lint for examples and integration tests, which is probably desireable. However, because we largely have not been documenting these so far, the lint triggered in many of these places. So, this change also adds#![expect]annotations to disable the lint on examples and tests that have existed before this lint was enabled.