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

Ensure "pretty-printed" Debug works as expected. #177

Open
Anders429 opened this issue Mar 16, 2023 · 0 comments
Open

Ensure "pretty-printed" Debug works as expected. #177

Anders429 opened this issue Mar 16, 2023 · 0 comments
Labels
C - Testing Category: Verifying the correctness of code. C - Usability Category: How easy it is for users to use the library. P - Low Priority: Not particularly urgent.

Comments

@Anders429
Copy link
Owner

In Rust, it is possible to request a type be displayed both as a "debug" and "pretty-print" version simultaneously using format!("{:#?}", ...);. The Debug implementations provided here should be verified to work this way as well.

They may already work correctly now, as the Debug implementation uses a lot of formatting tools from core, but it should be verified.

@Anders429 Anders429 added C - Testing Category: Verifying the correctness of code. P - Low Priority: Not particularly urgent. C - Usability Category: How easy it is for users to use the library. labels Mar 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C - Testing Category: Verifying the correctness of code. C - Usability Category: How easy it is for users to use the library. P - Low Priority: Not particularly urgent.
Projects
None yet
Development

No branches or pull requests

1 participant