refactor(body): use fmt::Debug of Bytes for Chunk
This commit is contained in:
@@ -114,7 +114,7 @@ impl AsRef<[u8]> for Chunk {
|
|||||||
impl fmt::Debug for Chunk {
|
impl fmt::Debug for Chunk {
|
||||||
#[inline]
|
#[inline]
|
||||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||||
fmt::Debug::fmt(self.as_ref(), f)
|
fmt::Debug::fmt(&self.bytes, f)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user