From 5575b05b3e96c3cdb485bf593981939c1f9fcf90 Mon Sep 17 00:00:00 2001 From: John DiSanti Date: Fri, 3 Mar 2023 17:43:16 -0800 Subject: [PATCH] Fix doc test imports --- .../amazon/smithy/rustsdk/endpoints/AwsEndpointDecorator.kt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/aws/sdk-codegen/src/main/kotlin/software/amazon/smithy/rustsdk/endpoints/AwsEndpointDecorator.kt b/aws/sdk-codegen/src/main/kotlin/software/amazon/smithy/rustsdk/endpoints/AwsEndpointDecorator.kt index 7885db72d60..130e98e49d3 100644 --- a/aws/sdk-codegen/src/main/kotlin/software/amazon/smithy/rustsdk/endpoints/AwsEndpointDecorator.kt +++ b/aws/sdk-codegen/src/main/kotlin/software/amazon/smithy/rustsdk/endpoints/AwsEndpointDecorator.kt @@ -168,11 +168,9 @@ class AwsEndpointDecorator : ClientCodegenDecorator { /// ## Examples /// ```no_run /// ## fn wrapper() -> Result<(), aws_smithy_http::endpoint::error::InvalidEndpointError> { - /// use #{aws_types}::region::Region; - /// use $moduleUseName::config::{Builder, Config}; - /// use $moduleUseName::Endpoint; + /// use $moduleUseName::config::{Config, Endpoint, Region}; /// - /// let config = $moduleUseName::Config::builder() + /// let config = Config::builder() /// .endpoint_resolver(Endpoint::immutable("http://localhost:8080")?) /// .build(); /// ## Ok(())