From 98095afb4250b95c6d6d328eaa5fd6c68a917d97 Mon Sep 17 00:00:00 2001 From: andy Date: Fri, 22 Apr 2022 00:34:00 +0000 Subject: [PATCH] 0x for hexes --- src/packet/login.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/packet/login.rs b/src/packet/login.rs index 7a506fd..0ea328d 100644 --- a/src/packet/login.rs +++ b/src/packet/login.rs @@ -386,9 +386,9 @@ impl std::fmt::Debug for GuildcardDataChunk { fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result { write!(f, "packet GuildcardDataChunk {{\n").unwrap(); write!(f, " flag: {:?}\n", 0).unwrap(); - write!(f, " _unknown: {:X?}\n", self._unknown).unwrap(); - write!(f, " chunk: {:X?}\n", self.chunk).unwrap(); - write!(f, " buffer: [0..{:X}]\n", self.len).unwrap(); + write!(f, " _unknown: {:#X?}\n", self._unknown).unwrap(); + write!(f, " chunk: {:#X?}\n", self.chunk).unwrap(); + write!(f, " buffer: [0..{:#X}]\n", self.len).unwrap(); write!(f, "}}") } }