Skip to content

Commit

Permalink
Fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
neunenak committed Oct 9, 2023
1 parent c6482c7 commit 75aa6cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/analyzer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ impl<'src> Analyzer<'src> {
imported_asts: &'a [AstImport<'src>],
) -> CompileResult<'src, Vec<UnresolvedRecipe<'src>>> {
let mut recipes = Vec::new();
recipes.extend(self.build_table_from_items(&root_ast.items)?.into_iter());
recipes.extend(self.build_table_from_items(&root_ast.items)?);

for import in imported_asts {
recipes.extend(self.build_table_from_items(&import.ast.items)?.into_iter());
Expand Down

0 comments on commit 75aa6cc

Please sign in to comment.