Unverified Commit 3f6f4994 authored by John DiSanti's avatar John DiSanti Committed by GitHub
Browse files

Fix rustfmt on generated SDK code (#2778)

_By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice._
parent a694dd9d
Loading
Loading
Loading
Loading
+13 −7
Original line number Diff line number Diff line
@@ -329,10 +329,16 @@ class FluentClientGenerator(
            rustTemplate(
                """
                /// Sends a request with this input using the given client.
                pub async fn send_with${generics.inst}(self, client: &crate::Client${generics.inst}) -> #{Result}<#{OperationOutput}, #{SdkError}<#{OperationError}, #{RawResponseType}>>
                #{send_bounds:W}
                #{boundsWithoutWhereClause:W}
                {
                pub async fn send_with${generics.inst}(
                    self,
                    client: &crate::Client${generics.inst}
                ) -> #{Result}<
                    #{OperationOutput},
                    #{SdkError}<
                        #{OperationError},
                        #{RawResponseType}
                    >
                > #{send_bounds:W} #{boundsWithoutWhereClause:W} {
                    let mut fluent_builder = client.$fnName();
                    fluent_builder.inner = self;
                    fluent_builder.send().await