mirror of https://github.com/smithy-lang/smithy-rs
Remove superfluous use of the `async_trait` macro (#1522)
The `IntoResponse` trait does not have any async functions.
This commit is contained in:
parent
46984ab91d
commit
3a7c60c3b1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue