Skip to content

docs(audits): #[must_use] coverage audit on public APIs (#2123) - #3897

Merged
oferchen merged 1 commit into
masterfrom
audits/must-use-coverage
May 7, 2026
Merged

oferchen merged 1 commit into
masterfrom
audits/must-use-coverage

Conversation

@oferchen

@oferchen oferchen commented May 7, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add docs/audits/must-use-coverage.md covering non-fallible public returners: consuming builders, bool predicates, value constructors. Companion to the existing Result/Option audit.
  • Per-crate triage counts (-> Self and -> bool) for the highest-leverage crates (core, daemon, protocol, engine, transfer, filters, cli).
  • Five-phase rollout ending in a workspace-wide clippy::must_use_candidate gate.

Refs #2123.

Test plan

  • Document is < 130 lines and contains the five required sections (current state, beneficial cases, categorisation, per-crate triage, plan).
  • No build or behavioural change; docs-only.

Adds docs/audits/must-use-coverage.md covering non-fallible public
returners (Self builders, bool predicates, value constructors).
Companion to the existing Result/Option audit. Includes per-crate
triage counts and a five-phase rollout that ends in a workspace-wide
clippy::must_use_candidate gate.
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label May 7, 2026
@oferchen
oferchen merged commit 05ac5df into master May 7, 2026
8 checks passed
@oferchen
oferchen deleted the audits/must-use-coverage branch May 8, 2026 03:47
oferchen added a commit that referenced this pull request May 18, 2026
Adds docs/audits/must-use-coverage.md covering non-fallible public
returners (Self builders, bool predicates, value constructors).
Companion to the existing Result/Option audit. Includes per-crate
triage counts and a five-phase rollout that ends in a workspace-wide
clippy::must_use_candidate gate.
oferchen added a commit that referenced this pull request Aug 24, 2026
Adds docs/audits/must-use-coverage.md covering non-fallible public
returners (Self builders, bool predicates, value constructors).
Companion to the existing Result/Option audit. Includes per-crate
triage counts and a five-phase rollout that ends in a workspace-wide
clippy::must_use_candidate gate.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant