Skip to content

Commit

Permalink
chore: fix clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
alixinne authored and renovate[bot] committed Nov 5, 2023
1 parent 3ee56df commit b999d39
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions glslt/src/transform/template.rs
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ impl TemplateDefinition {
});

// Put regular args back into the function call
args.extend(other.into_iter());
args.extend(other);

// Return template args with their values and type names
Ok(res
Expand Down Expand Up @@ -243,9 +243,7 @@ pub fn parse_definition_as_template(
non_template_parameters.push(parameter);
}

def.prototype
.parameters
.extend(non_template_parameters.into_iter());
def.prototype.parameters.extend(non_template_parameters);

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

Expand Down

0 comments on commit b999d39

Please # to comment.