refactor(body): use fmt::Debug of Bytes for Chunk

This commit is contained in:
Sean McArthur
2018-10-08 10:22:48 -07:00
parent 9fa721df9e
commit 3e12bccac0

View File

@@ -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)
}
}