Skip to content

Commit a821a36

Browse files
committed
chore(h1): remove accidental BufDeque::bytes code
1 parent b0aa649 commit a821a36

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/proto/h1/io.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -517,9 +517,6 @@ impl<T: Buf> Buf for BufDeque<T> {
517517
return buf.bytes();
518518
}
519519
}
520-
if let Some(ref buf) = self.bufs.front() {
521-
return buf.bytes();
522-
}
523520
&[]
524521
}
525522

0 commit comments

Comments
 (0)