diff --git a/rust-runtime/aws-smithy-http-server/src/operation/mod.rs b/rust-runtime/aws-smithy-http-server/src/operation/mod.rs index 0aefe25e3a..70199714c2 100644 --- a/rust-runtime/aws-smithy-http-server/src/operation/mod.rs +++ b/rust-runtime/aws-smithy-http-server/src/operation/mod.rs @@ -233,7 +233,7 @@ impl Operation> { S: OperationService, { Self { - inner: inner.into_unflatten(), + inner: inner.canonicalize(), layer: Identity::new(), } } diff --git a/rust-runtime/aws-smithy-http-server/src/operation/operation_service.rs b/rust-runtime/aws-smithy-http-server/src/operation/operation_service.rs index 10d2acbd2d..150cd2c65a 100644 --- a/rust-runtime/aws-smithy-http-server/src/operation/operation_service.rs +++ b/rust-runtime/aws-smithy-http-server/src/operation/operation_service.rs @@ -73,7 +73,7 @@ where Op: OperationShape, { /// Convert the [`OperationService`] into a canonicalized [`Service`]. - fn into_unflatten(self) -> Normalize + fn canonicalize(self) -> Normalize where Self: Sized, {