Skip to content

Make allow(missing_docs) for widgets much more tightly scoped#898

Merged
DJMcNab merged 1 commit intolinebender:mainfrom
DJMcNab:missy
Mar 19, 2025
Merged

Make allow(missing_docs) for widgets much more tightly scoped#898
DJMcNab merged 1 commit intolinebender:mainfrom
DJMcNab:missy

Conversation

@DJMcNab
Copy link
Member

@DJMcNab DJMcNab commented Mar 19, 2025

Any new widget code needs to have full docs.
Not having missing_docs trigger by default for new widgets is quite bad.

See #875 and #882 for cases where this over-broad allow has bitten us.

The comment about not using expect(missing_docs) because of rust-analyzer is confusing to me; I don't run into an issue. It might have been rust-lang/rust#130021, which is now fixed. That comment should have had a link to an upstream issue for more context.

Any new widget code needs to have full docs.
Not having `missing_docs` trigger by default for this is really bad
@DJMcNab DJMcNab added this pull request to the merge queue Mar 19, 2025
Merged via the queue into linebender:main with commit 88f453c Mar 19, 2025
18 checks passed
@DJMcNab DJMcNab deleted the missy branch March 19, 2025 13:22
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.

2 participants