fix(http): Fix commit fac3d70c0b

The new From<Chunk> for Bytes uses self instead of chunk in its
implementation of From::from.  Change it to chunk to fix the build.
This commit is contained in:
Matthew Dawson
2017-03-02 01:36:46 -05:00
parent fac3d70c0b
commit 9e16637514

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,
}
}