We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 87db1ea commit aacca46Copy full SHA for aacca46
graphql_client_codegen/src/codegen_options.rs
@@ -109,7 +109,7 @@ impl GraphQLClientCodegenOptions {
109
.as_deref()
110
.into_iter()
111
.flat_map(|s| s.split(','))
112
- .map(|s| s.trim());
+ .map(str::trim);
113
114
std::iter::once("Serialize").chain(additional)
115
}
@@ -130,7 +130,7 @@ impl GraphQLClientCodegenOptions {
130
131
132
133
- .map(|s| s.trim())
+ .map(str::trim)
134
135
136
/// Comma-separated list of additional traits we want to derive for responses.
0 commit comments