From 08ce74678921663a245642538e3eddc145582ebc Mon Sep 17 00:00:00 2001 From: Mario Carbajal Date: Tue, 2 Jul 2024 11:18:07 -0300 Subject: [PATCH] Remove unnecessary borrow --- stylance-cli/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stylance-cli/src/main.rs b/stylance-cli/src/main.rs index 7425008..1544f05 100644 --- a/stylance-cli/src/main.rs +++ b/stylance-cli/src/main.rs @@ -93,7 +93,7 @@ fn run(run_params: &RunParams) -> anyhow::Result<()> { let mut modified_css_files = Vec::new(); for folder in &run_params.config.folders { - for (entry, meta) in WalkDir::new(&run_params.manifest_dir.join(folder)) + for (entry, meta) in WalkDir::new(run_params.manifest_dir.join(folder)) .into_iter() .filter_map(|e| e.ok()) .filter_map(|entry| entry.metadata().ok().map(|meta| (entry, meta)))