From 7eb8e1aee55bb4ee235fc360b72ef6c10504d21c Mon Sep 17 00:00:00 2001 From: Harry Barber Date: Wed, 31 Aug 2022 13:14:53 +0000 Subject: [PATCH] Rename into_unflatten to canonicalize --- rust-runtime/aws-smithy-http-server/src/operation/mod.rs | 2 +- .../aws-smithy-http-server/src/operation/operation_service.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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, {