fn bad_request<T: Into<Body>>(msg: T) -> Response<Body> {
    Response::builder()
        .status(StatusCode::BAD_REQUEST)
        .body(msg.into())
        .unwrap()
}
/// Produces a 400 Bad Request response with the given content.
Produces a 400 Bad Request response with the given content.
Produces a 400 Bad Request response with the given content .
fn bad_request<T: Into<Body>>(msg: T) -> Response<Body> {
    Response::builder()
        .status(StatusCode::BAD_REQUEST)
        .body(msg.into())
        .unwrap()
}
fn bad_request < T : Into < Body > > ( msg : T ) -> Response < Body > { Response :: builder ( ) . status ( StatusCode :: BAD_REQUEST ) . body ( msg . into ( ) ) . unwrap ( ) }
Produces a 400 Bad Request response with the given content.
Produces a 400 Bad Request response with the given content .
msg
T
msg
T