diff options
Diffstat (limited to 'shared/src/packets.rs')
-rw-r--r-- | shared/src/packets.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/shared/src/packets.rs b/shared/src/packets.rs index de69ffd..1f0dab1 100644 --- a/shared/src/packets.rs +++ b/shared/src/packets.rs @@ -208,6 +208,8 @@ impl Debug for Data { } impl Display for Object { fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { - f.debug_tuple("Object").field(&self.0).finish() + f.debug_tuple("Object") + .field_with(|f| write!(f, "{:016x}", self.0)) + .finish() } } |