Skip to content

Deny broken doc comments (and fix a few warnings) - #1212

Merged
iximeow merged 1 commit into
masterfrom
ixi/cargo-doc-cleanup
Sep 9, 2026
Merged

Deny broken doc comments (and fix a few warnings)#1212
iximeow merged 1 commit into
masterfrom
ixi/cargo-doc-cleanup

Conversation

@iximeow

@iximeow iximeow commented Sep 9, 2026

Copy link
Copy Markdown
Member

While we tested that doc comments built, which checks example code is syntactically valid, calls items that exist, etc we did not actually deny warnings when checking doc comments.

Typically, one might see those warnings and fix them, and in practice the doc comments in Propolis and the related crates all build without issue. Over time some issues do creep in though, and we might as well catch and reject them in CI to keep things tidy. Otherwise the warnings end up in CI logs that likely no one is checking...

this is mostly me peeling out the unrelated docs cleanup from #1210 into its own change and fixing the underlying issue that let these warnings creep in over time :)

While we tested that doc comments *built*, which checks example code is
syntactically valid, calls items that exist, etc we did not actually
deny warnings when checking doc comments.

Typically, one might see those warnings and fix them, and in practice
the doc comments in Propolis and the related crates all build without
issue. Over time some issues do creep in though, and we might as well
catch and reject them in CI to keep things tidy. Otherwise the warnings
end up in CI logs that likely no one is checking...
zeeshanlakhani added a commit that referenced this pull request Sep 9, 2026
- merge in #1212 when accepted.
@iximeow
iximeow merged commit 0f7d517 into master Sep 9, 2026
13 of 14 checks passed
@iximeow
iximeow deleted the ixi/cargo-doc-cleanup branch September 9, 2026 18:16
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