Skip to content

Commit 71e303e

Browse files
unhappychoiceclaude
andcommitted
refactor: simplify closure to function reference
Replace redundant closure with direct function reference for StepResult::ScannedFiles. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent faa74f2 commit 71e303e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/presentation/game/models/loading_steps/scanning_step.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,6 @@ impl Step for ScanningStep {
6969

7070
SourceFileExtractor::new()
7171
.collect_with_progress(repo_path, screen)
72-
.map(|files| StepResult::ScannedFiles(files))
72+
.map(StepResult::ScannedFiles)
7373
}
7474
}

0 commit comments

Comments
 (0)