Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Debug where missing #72

Merged
merged 3 commits into from Dec 10, 2022

Conversation

phimuemue
Copy link
Contributor

@phimuemue phimuemue commented May 21, 2022

This adds Debug implementations where possible, either by derive or manually.

The third commit installs missing_debug_implementations as a lint, so that we are warned when a struct forgets to impl Debug. (impl Debug is advised as per https://rust-lang.github.io/api-guidelines/checklist.html.)

This should fix #61.

Off-topic: What do you think about releasing a new version that contains all the Debug improvements already in there?

All fields derive(Debug), so Children should be able to derive, too.
As of now, bit_set::Iter does not impl Debug, so we for it is omitted
from the Debug description.
@phimuemue phimuemue changed the title Debug impl Implement Debug where not already done May 21, 2022
@phimuemue phimuemue changed the title Implement Debug where not already done Implement Debug where missing May 21, 2022
@utkarshkukreti utkarshkukreti merged commit 3c8485e into utkarshkukreti:master Dec 10, 2022
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.

Debug impls for certain structs
2 participants