Skip to content

Commit 3e12bcc

Browse files
committed
refactor(body): use fmt::Debug of Bytes for Chunk
1 parent 9fa721d commit 3e12bcc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/body/chunk.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ impl AsRef<[u8]> for Chunk {
114114
impl fmt::Debug for Chunk {
115115
#[inline]
116116
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
117-
fmt::Debug::fmt(self.as_ref(), f)
117+
fmt::Debug::fmt(&self.bytes, f)
118118
}
119119
}
120120

0 commit comments

Comments
 (0)