refactor(http1): fix redundant imports

This commit is contained in:
Sean McArthur
2019-04-01 18:33:19 -07:00
parent edf551b55f
commit c7a046c518
2 changed files with 1 additions and 2 deletions

View File

@@ -511,7 +511,7 @@ impl Http1Transaction for Server {
}
fn on_error(err: &::Error) -> Option<MessageHead<Self::Outgoing>> {
use ::error::{Kind, Parse};
use ::error::Kind;
let status = match *err.kind() {
Kind::Parse(Parse::Method) |
Kind::Parse(Parse::Header) |