aboutsummaryrefslogtreecommitdiff
path: root/bin/src/fix/all.rs
diff options
context:
space:
mode:
Diffstat (limited to 'bin/src/fix/all.rs')
-rw-r--r--bin/src/fix/all.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/src/fix/all.rs b/bin/src/fix/all.rs
index bbc39e8..7e51d16 100644
--- a/bin/src/fix/all.rs
+++ b/bin/src/fix/all.rs
@@ -57,7 +57,7 @@ fn reorder(mut reports: Vec<Report>) -> Vec<Report> {
57impl<'a> Iterator for FixResult<'a> { 57impl<'a> Iterator for FixResult<'a> {
58 type Item = FixResult<'a>; 58 type Item = FixResult<'a>;
59 fn next(&mut self) -> Option<Self::Item> { 59 fn next(&mut self) -> Option<Self::Item> {
60 let all_reports = collect_fixes(&self.src, &self.lints).ok()?; 60 let all_reports = collect_fixes(&self.src, self.lints).ok()?;
61 if all_reports.is_empty() { 61 if all_reports.is_empty() {
62 return None; 62 return None;
63 } 63 }