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

Forward formatter settings to bounds of Range<T> in fmt::Debug impl #59596

Merged
merged 1 commit into from
Apr 4, 2019

Commits on Apr 1, 2019

  1. Forward formatter settings to bounds of Range<T> in fmt::Debug impl

    Before this change, formatter settings were lost when printing a
    `Range`. For example, printing a `Range<f32>` with `{:.2?}` would not
    apply the precision modifier when printing the floats. Now the `Debug`
    impls look a bit more verbose, but modifier are not lost.
    LukasKalbertodt committed Apr 1, 2019
    Configuration menu
    Copy the full SHA
    d3d3049 View commit details
    Browse the repository at this point in the history