Commit 69dc064
authored
The `Display` impl for `EreportId` was _supposed_ to format the ereport
ID as `{uuid}:{ena}`. Unfortunately, I mixed up which of the `Debug` and
`Display` impls for `TypedUuid` was the one that included the type tag,
so currently, it looks like this instead:
```
acb6b01f-5a41-46e2-81bd-2a908051acb3 (ereporter_restart):0x2
```
which, IMO, looks Kinda Bad.
This branch changes it slightly to use the `Display` impl for the
`TypedUuid` so that there's no unslightly ` (ereporter_restart)`
included in the output. I've also formatted the underlying u64 from the
`Ena` so that it doesn't have an `0x` prefix, since the UUID makes it
pretty obvious that the whole string is hex.
Now it should look more like this:
```
acb6b01f-5a41-46e2-81bd-2a908051acb3:2
```
Which, IMO, is much nicer.
1 parent 0995c5e commit 69dc064
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | | - | |
| 113 | + | |
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
| |||
0 commit comments