We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ee56df commit b999d39Copy full SHA for b999d39
glslt/src/transform/template.rs
@@ -167,7 +167,7 @@ impl TemplateDefinition {
167
});
168
169
// Put regular args back into the function call
170
- args.extend(other.into_iter());
+ args.extend(other);
171
172
// Return template args with their values and type names
173
Ok(res
@@ -243,9 +243,7 @@ pub fn parse_definition_as_template(
243
non_template_parameters.push(parameter);
244
}
245
246
- def.prototype
247
- .parameters
248
- .extend(non_template_parameters.into_iter());
+ def.prototype.parameters.extend(non_template_parameters);
249
250
let def = Node::new(def, span);
251
0 commit comments