We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent edf551b commit c7a046cCopy full SHA for c7a046c
src/proto/h1/io.rs
@@ -168,7 +168,6 @@ where
168
}
169
170
pub fn read_from_io(&mut self) -> Poll<usize, io::Error> {
171
- use bytes::BufMut;
172
self.read_blocked = false;
173
let next = self.read_buf_strategy.next();
174
if self.read_buf.remaining_mut() < next {
src/proto/h1/role.rs
@@ -511,7 +511,7 @@ impl Http1Transaction for Server {
511
512
513
fn on_error(err: &::Error) -> Option<MessageHead<Self::Outgoing>> {
514
- use ::error::{Kind, Parse};
+ use ::error::Kind;
515
let status = match *err.kind() {
516
Kind::Parse(Parse::Method) |
517
Kind::Parse(Parse::Header) |
0 commit comments