Skip to content

Commit b999d39

Browse files
alixinnerenovate[bot]
authored andcommitted
chore: fix clippy warnings
1 parent 3ee56df commit b999d39

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

glslt/src/transform/template.rs

+2-4
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ impl TemplateDefinition {
167167
});
168168

169169
// Put regular args back into the function call
170-
args.extend(other.into_iter());
170+
args.extend(other);
171171

172172
// Return template args with their values and type names
173173
Ok(res
@@ -243,9 +243,7 @@ pub fn parse_definition_as_template(
243243
non_template_parameters.push(parameter);
244244
}
245245

246-
def.prototype
247-
.parameters
248-
.extend(non_template_parameters.into_iter());
246+
def.prototype.parameters.extend(non_template_parameters);
249247

250248
let def = Node::new(def, span);
251249

0 commit comments

Comments
 (0)