diff --git a/mendes/Cargo.toml b/mendes/Cargo.toml index 103f124..14d4993 100644 --- a/mendes/Cargo.toml +++ b/mendes/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mendes" -version = "0.5.1" +version = "0.6.0" edition = "2021" rust-version = "1.63" description = "Rust web toolkit for impatient perfectionists" diff --git a/mendes/src/application.rs b/mendes/src/application.rs index 2d5e67e..ed1c055 100644 --- a/mendes/src/application.rs +++ b/mendes/src/application.rs @@ -130,10 +130,7 @@ impl IntoResponse for Response { } } -impl IntoResponse for Result -where - T: IntoResponse, -{ +impl, E: IntoResponse> IntoResponse for Result { fn into_response(self, app: &A, req: &Parts) -> Response { match self { Ok(rsp) => rsp.into_response(app, req),