Merge pull request #1081 from MJDSys/fix_from_chunk_to_bytes

fix(http): Fix commit fac3d70c0b
This commit is contained in:
Sean McArthur
2017-03-01 22:44:28 -08:00
committed by GitHub

View File

@@ -45,7 +45,7 @@ impl From<Bytes> for Chunk {
impl From<Chunk> for Bytes {
fn from(chunk: Chunk) -> Bytes {
match self.0 {
match chunk.0 {
Inner::Shared(bytes) => bytes,
}
}