Skip to content

📝 docs: deny missing_docs and document all public items - #2573

Merged
harehare merged 4 commits into
mainfrom
docs/missing-docs-lint
Oct 15, 2026
Merged

harehare merged 4 commits into
mainfrom
docs/missing-docs-lint

Conversation

@harehare

Copy link
Copy Markdown
Owner

Summary

Enable missing_docs = "warn" through workspace lints for every crate under crates/ and add the doc comments it requires.

Clap ValueEnum variants in mq-run keep #[allow(missing_docs)] so --help output is unchanged.

Type of Change

  • 🐛 Bug fix
  • ✨ New feature
  • ♻️ Refactor
  • 📝 Documentation
  • ⚡ Performance
  • ✅ Test
  • 📦 Build / dependencies
  • 👷 CI

Checklist

  • I ran cargo fmt and cargo clippy and addressed any warnings
  • I ran just test-all and all tests pass
  • I added or updated tests covering this change
  • I updated relevant documentation (/docs, crate README.md) if needed
  • I added a changelog entry if this is a user-facing change

Additional Context

Enable `missing_docs = "deny"` through workspace lints for every crate
under crates/ and add the doc comments it requires.

Clap ValueEnum variants in mq-run keep `#[allow(missing_docs)]` so
`--help` output is unchanged.
Diagnostic messages change from "... — ..." to comma-separated text.
The markdown formatter now renders help as "(help: ...)".
Lower the workspace missing_docs lint from deny to warn.
Correct copy-pasted or inaccurate doc comments in mq-check, mq-lang
and mq-markdown, and reword the mq-lint rule docs as full sentences.
@codspeed

codspeed Bot commented Oct 15, 2026 •

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 43 untouched benchmarks
⏩ 35 skipped benchmarks1


Comparing docs/missing-docs-lint (37edd70) with main (476f594)

Open in CodSpeed

Footnotes

  1. 35 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩

@harehare
harehare merged commit 207a4ab into main Oct 15, 2026
14 checks passed
@harehare
harehare deleted the docs/missing-docs-lint branch October 15, 2026 13:49
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.

1 participant