Unverified Commit 3a7c60c3 authored by david-perez's avatar david-perez Committed by GitHub
Browse files

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

The `IntoResponse` trait does not have any async functions.
parent 46984ab9
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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