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

ExactlyOneError: prettier Debug implementation #861

Merged

Commits on Jan 23, 2024

  1. ExactlyOneError: implement Debug differently

    It could be derived. It apparently was decided not to in rust-itertools#484, probably to not leak implementation details that could confuse the user.
    However, it would not render well for pretty formats such as `"{:#?}"`. I think we should call methods on `f` instead of using `write!`.
    Philippe-Cholet committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    b31596f View commit details
    Browse the repository at this point in the history