diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2021-03-31 15:38:30 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2021-04-01 17:01:26 +0200 |
commit | 6e17b500e26288a245434c3e05de37f7dff08605 (patch) | |
tree | dc9ab111ff3efd0d7e28abd61f4f206e6f448099 /tests/errors.rs | |
parent | 0e651879939ca18b7ce38ffb306c85a183deb67b (diff) |
Provide a nice Display impl for ValueKind::{Array, Table}
This patch changes the Display impl for ValueKind so that Array and
Table are nicely displayed.
This basically changes a user-facing implementation in a
non-backwards-compatible way. But as the documentation for std states:
Display is similar to Debug, but Display is for user-facing output
[...]
This is user-facing and I'd say this is okay.
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'tests/errors.rs')
0 files changed, 0 insertions, 0 deletions