Remove superfluous use of the `async_trait` macro (#1522)

The `IntoResponse` trait does not have any async functions.
This commit is contained in:
david-perez 2022-07-04 13:37:46 +02:00 committed by GitHub
parent 46984ab91d
commit 3a7c60c3b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -257,7 +257,6 @@ private class ServerHttpBoundProtocolTraitImplGenerator(
Output(#{O}),
Error(#{E})
}
##[#{AsyncTrait}::async_trait]
impl #{SmithyHttpServer}::response::IntoResponse for $outputName {
fn into_response(self) -> #{SmithyHttpServer}::response::Response {
$intoResponseImpl
@ -289,7 +288,6 @@ private class ServerHttpBoundProtocolTraitImplGenerator(
rustTemplate(
"""
pub(crate) struct $outputName(#{O});
##[#{AsyncTrait}::async_trait]
impl #{SmithyHttpServer}::response::IntoResponse for $outputName {
fn into_response(self) -> #{SmithyHttpServer}::response::Response {
$intoResponseImpl