You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Improve error messages with nicer formatting of Date and Time types (#19954)
* Follow-up to: #17565
* Related: apache/arrow-rs#8290
## Rationale for this change
I believe that error messages should be as readable as possible. Aim for
`rustc` more than `gcc`.
`Display` is the nice, user-facing formatter. `Debug` is for… well,
debugging.
## What changes are included in this PR?
Change a bunch of `{:?}` format string to `{}`. I'm sure I missed a lot
of them, because I know of no way to enforce this without
* rust-lang/rust-clippy#8581
## Are these changes tested?
I assume CI runs `cargo test` :)
## Are there any user-facing changes?
Yes! Error messages should be a bit more readable now.
---------
Co-authored-by: Tim Saucer <timsaucer@gmail.com>
0 commit comments