diff --git a/src/body/chunk.rs b/src/body/chunk.rs index e5d5aed4..d29b00ca 100644 --- a/src/body/chunk.rs +++ b/src/body/chunk.rs @@ -114,7 +114,7 @@ impl AsRef<[u8]> for Chunk { impl fmt::Debug for Chunk { #[inline] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { - fmt::Debug::fmt(self.as_ref(), f) + fmt::Debug::fmt(&self.bytes, f) } }