Skip to content

Commit

Permalink
chore(h1): remove accidental BufDeque::bytes code
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmonstar committed Feb 7, 2018
1 parent b0aa649 commit a821a36
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/proto/h1/io.rs
Original file line number Diff line number Diff line change
Expand Up @@ -517,9 +517,6 @@ impl<T: Buf> Buf for BufDeque<T> {
return buf.bytes();
}
}
if let Some(ref buf) = self.bufs.front() {
return buf.bytes();
}
&[]
}

Expand Down

0 comments on commit a821a36

Please sign in to comment.