diff options
Diffstat (limited to 'bin/src/fix')
-rw-r--r-- | bin/src/fix/all.rs | 2 |
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> { | |||
57 | impl<'a> Iterator for FixResult<'a> { | 57 | impl<'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 | } |