Skip to content

Commit 57d2ee3

Browse files
update
1 parent 0ac596a commit 57d2ee3

File tree

1 file changed

+2
-3
lines changed
  • codegen-client/src/main/kotlin/software/amazon/smithy/rust/codegen/client/smithy/generators/client

1 file changed

+2
-3
lines changed

codegen-client/src/main/kotlin/software/amazon/smithy/rust/codegen/client/smithy/generators/client/FluentClientGenerator.kt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -342,9 +342,8 @@ class FluentClientGenerator(
342342
// 118 | | ) -> Self {
343343
// | |_____________^ duplicate definitions for `set_fields`
344344
if (inputBuilderType.toString().endsWith("Builder")) {
345-
rustTemplate(
346-
"""
347-
##[cfg(#{AwsSdkUnstableAttribute:W})]
345+
rustTemplate("""
346+
##[cfg(#{AwsSdkUnstableAttribute})]
348347
/// This function replaces the parameter with new one.
349348
/// It is useful when you want to replace the existing data with de-serialized data.
350349
/// ```compile_fail

0 commit comments

Comments
 (0)