refactor(http1): fix redundant imports
This commit is contained in:
@@ -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) |
|
||||
|
||||
Reference in New Issue
Block a user