Custom Debug for UUID #356

Closed
opened 2019-01-13 17:12:07 -06:00 by mitsuhiko · 2 comments
mitsuhiko commented 2019-01-13 17:12:07 -06:00 (Migrated from github.com)

Is your feature request related to a problem? Please describe.
Currently when embedding uuids in debug output with indentation formatting the default derived debug of the uuid is quite long.

Describe the solution you'd like
Ideally it would render out the UUID in hex or hyphenated format instead.

Is it blocking?
It's not super blocking but I find it very frustrating to look at this when debugging.

**Is your feature request related to a problem? Please describe.** Currently when embedding uuids in debug output with indentation formatting the default derived debug of the uuid is quite long. **Describe the solution you'd like** Ideally it would render out the UUID in hex or hyphenated format instead. **Is it blocking?** It's not super blocking but I find it very frustrating to look at this when debugging.
KodrAus commented 2019-01-13 17:41:36 -06:00 (Migrated from github.com)

Changing the debug format to hyphenated instead of the default for [u8] sounds good to me!

Changing the debug format to hyphenated instead of the default for `[u8]` sounds good to me!
kinggoesgaming commented 2019-01-13 19:39:19 -06:00 (Migrated from github.com)

git blame points the change to me 😳

`git blame` points the change to me 😳
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-uuid-rs/uuid#356
No description provided.