Skip to content

style(h1): mark partial Debug impls as non-exhaustive - #4218

Merged
dswij merged 2 commits into
hyperium:masterfrom
badimalex:style/missing-fields-in-debug
Oct 3, 2026
Merged

dswij merged 2 commits into
hyperium:masterfrom
badimalex:style/missing-fields-in-debug

Conversation

@badimalex

@badimalex badimalex commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor
  • The description, docs, and comments (words meant for humans) are written by a human, not by an LLM. (https://seanmonstar.com/micro/20260729-i-want-your-own-words/)

  • Removed the missing_fields_in_debug allow from Cargo.toml so Clippy checks manual Debug implementations more strictly.

  • Updated existing manual Debug implementations that do not show all fields to use .finish_non_exhaustive() instead of .finish().

  • Ran the tests and verified that existing behavior is unchanged.

Towards #4071

@dswij
dswij merged commit 0d47440 into hyperium:master Oct 3, 2026
23 checks passed
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