diff --git a/codegen-server/src/main/kotlin/software/amazon/smithy/rust/codegen/server/smithy/protocols/ServerHttpBoundProtocolGenerator.kt b/codegen-server/src/main/kotlin/software/amazon/smithy/rust/codegen/server/smithy/protocols/ServerHttpBoundProtocolGenerator.kt index 56359d59cd..aa7ec61680 100644 --- a/codegen-server/src/main/kotlin/software/amazon/smithy/rust/codegen/server/smithy/protocols/ServerHttpBoundProtocolGenerator.kt +++ b/codegen-server/src/main/kotlin/software/amazon/smithy/rust/codegen/server/smithy/protocols/ServerHttpBoundProtocolGenerator.kt @@ -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