Skip to content

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

Open
badimalex wants to merge 2 commits into
hyperium:masterfrom
badimalex:style/missing-fields-in-debug
Open

badimalex wants to merge 2 commits into
hyperium:masterfrom
badimalex:style/missing-fields-in-debug

Conversation

@badimalex

@badimalex badimalex commented Oct 2, 2026 •

Copy link
Copy Markdown
  • 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

This branch has not been deployed

No deployments
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