Skip to content

Commit

Permalink
refactor(body): use fmt::Debug of Bytes for Chunk
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmonstar committed Oct 8, 2018
1 parent 9fa721d commit 3e12bcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/body/chunk.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}

Expand Down

0 comments on commit 3e12bcc

Please sign in to comment.