Drop a cast that isn't necesary
@@ -63,7 +63,7 @@ impl Handler for BlockTraffic {
Response::builder()
.status(StatusCode::FORBIDDEN)
.header(header::CONTENT_LENGTH, body.len())
- .body(Body::from_vec(body.into_bytes()) as Body)
+ .body(Body::from_vec(body.into_bytes()))
.map_err(box_error)
} else {
self.handler.as_ref().unwrap().call(req)
