From 24a011b9d6fbfb33ab84d5054ddb7279f844f754 Mon Sep 17 00:00:00 2001 From: Christian Schwarz Date: Fri, 28 Jun 2024 18:07:59 +0200 Subject: [PATCH] fix(docs: client construction): wrong type name (#3633) ## Motivation and Context Docs are wrong. ## Description The docs are referring to the wrong type name (`Config`). The example right below the change uses the right type name (`$crateName::config::Builder`). ## Testing n/a ## Checklist ---- _By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice._ --- .../src/main/kotlin/software/amazon/smithy/rustsdk/AwsDocs.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aws/sdk-codegen/src/main/kotlin/software/amazon/smithy/rustsdk/AwsDocs.kt b/aws/sdk-codegen/src/main/kotlin/software/amazon/smithy/rustsdk/AwsDocs.kt index 7942c28d6b..c682773216 100644 --- a/aws/sdk-codegen/src/main/kotlin/software/amazon/smithy/rustsdk/AwsDocs.kt +++ b/aws/sdk-codegen/src/main/kotlin/software/amazon/smithy/rustsdk/AwsDocs.kt @@ -73,7 +73,7 @@ object AwsDocs { Occasionally, SDKs may have additional service-specific values that can be set on the [`Config`] that is absent from [`SdkConfig`], or slightly different settings for a specific client may be desired. - The [`Config`] struct implements `From<&SdkConfig>`, so setting these specific settings can be + The [`Builder`] struct implements `From<&SdkConfig>`, so setting these specific settings can be done as follows: ```rust,no_run