You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: codegen-client/src/main/kotlin/software/amazon/smithy/rust/codegen/client/smithy/generators/client/FluentClientGenerator.kt
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -313,10 +313,10 @@ class FluentClientGenerator(
313
313
/// This function replaces the parameter with new one.
314
314
/// It is useful when you want to replace the existing data with de-serialized data.
315
315
/// ```rust
316
-
/// async {
317
-
/// let deserialized_parameters: $inputBuilderType = serde_json::from_str(parameters_written_in_json).unwrap();
318
-
/// let outcome: #{OperationOutput} = client.$fnName().set_fields(&deserialized_parameters).send().await;
319
-
/// }
316
+
/// let result_future = async {
317
+
/// let deserialized_parameters: $inputBuilderType = serde_json::from_str("some json data").unwrap();
0 commit comments