From 5864753a5e08da0a09e950851e351d314c7286df Mon Sep 17 00:00:00 2001 From: Greg Shuflin Date: Sat, 21 Sep 2024 02:43:48 -0700 Subject: [PATCH] clippy --- src/analyzer.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/analyzer.rs b/src/analyzer.rs index c7ef3ea615..5e8a928830 100644 --- a/src/analyzer.rs +++ b/src/analyzer.rs @@ -106,11 +106,7 @@ impl<'run, 'src> Analyzer<'run, 'src> { let settings = Settings::from_table(sets); - let recipe_names: Vec> = analyzer - .recipes - .iter() - .map(|recipe| recipe.name.clone()) - .collect(); + let recipe_names: Vec> = analyzer.recipes.iter().map(|recipe| recipe.name).collect(); for name in recipe_names { analyzer.define(name, "recipe", settings.allow_duplicate_recipes)?; }