Skip to content

Commit

Permalink
Remove unnecessary borrow
Browse files Browse the repository at this point in the history
  • Loading branch information
basro committed Jul 2, 2024
1 parent cc52977 commit 08ce746
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stylance-cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)))
Expand Down

0 comments on commit 08ce746

Please sign in to comment.